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
Unhandled exception: Index out of bounds (IndexError)
from ../../snap/crystal/397/share/crystal/src/indexable.cr:589:8 in '[]'
from icr/src/icr/executer.cr:29:25 in 'execute'
from icr/src/icr/console.cr:162:7 in 'execute'
from icr/src/icr/console.cr:130:9 in 'process_result'
from icr/src/icr/console.cr:122:7 in 'process_command'
from icr/src/icr/console.cr:88:9 in 'process_input'
from icr/src/icr/console.cr:66:12 in 'start'
from icr/src/icr/cli.cr:126:1 in '__crystal_main'
from ../../snap/crystal/397/share/crystal/src/crystal/main.cr:105:5 in 'main_user_code'
from ../../snap/crystal/397/share/crystal/src/crystal/main.cr:91:7 in 'main'
from ../../snap/crystal/397/share/crystal/src/crystal/main.cr:114:3 in 'main'
from __libc_start_main
from _start
from ???
and with quit:
Showing last frame. Use --error-trace for full trace.
In .icr_UwArnFrEUpNPonR2lwJ0uQ.cr:2:3
2 | quit
^---
icr(0.35.1) > ed local variable or method 'quit' for top-level
The text was updated successfully, but these errors were encountered:
If you're building against master, we've renamed that command to #quithttps://github.com/crystal-community/icr/pull/119/files Though it's not standard with most REPLs, the idea being that with how ICR works, "magic commands" would conflict with variables or methods being defined. We also have a PR to add in #help. I guess the README needs some updating 😅
When leaving the REPL using
exit
, I get an error:and with
quit
:The text was updated successfully, but these errors were encountered: