Skip to content

Fix inim crash on Termux/Android#143

Open
DerekRDev wants to merge 1 commit intoinim-repl:masterfrom
DerekRDev:fix-termux-indentation-error
Open

Fix inim crash on Termux/Android#143
DerekRDev wants to merge 1 commit intoinim-repl:masterfrom
DerekRDev:fix-termux-indentation-error

Conversation

@DerekRDev
Copy link
Copy Markdown

Inim was crashing immediately on startup with an 'invalid indentation' error on line 10. Found that writeLine(EmbeddedCode) was adding an extra newline, which broke the Nim compiler parsing.

Changed to write() with a conditional newline check to fix it.

Tested working on Termux(Android ARM64) with Nim 2.2.4
Inim now starts and runs correctly
Simple REPL operations work as expected.

inim was crashing immediately on startup with 'invalid indentation'
error on line 10. Found that writeLine(EmbeddedCode) was adding an
extra newline which broke the nim compiler parsing.

Changed to write() with conditional newline check to fix it.

Tested working on Termux with Nim 2.2.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant