You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expect Ink to fail with error when there is no END, but inky fails silently. #534
-> start
=== start ===
We have started
- -> start
-> END
Step 3: Remove the END
-> start
=== start ===
We have started
- -> start
Issue: Somewhere between step 2 and 3, user expects infinite loop warning, but Inky fails silently. Subsequent changes to the Ink yields undefined Inky error state. Seem Inky becomes confused.
inky does not contain any infinite loop checking. you have to avoid making them.
Should one arise, the player will stop rendering output and inky may start to chug, but compilation still continues, so you can break the loop either by deleting the cause of it, or inserting a compiler error. The most efficient way to do that is to type a single ~ on a blank line: this will fail compilation, break the loop, and inky will become fully responsive again.
Activity
joningold commentedon Jun 30, 2025
inky does not contain any infinite loop checking. you have to avoid making them.
Should one arise, the player will stop rendering output and inky may start to chug, but compilation still continues, so you can break the loop either by deleting the cause of it, or inserting a compiler error. The most efficient way to do that is to type a single ~ on a blank line: this will fail compilation, break the loop, and inky will become fully responsive again.