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
When any input is made in REPL mode, an infinite loop is occurred.
Reproducible code
cargo run
Starting the REPL server...
Connecting to the REPL server...
Erg interpreter 0.5.0-beta.0 (tags/?:5c5ea55, 2022/09/22 17:15:05.16) on x86_64/windows
>>> a # infinite loop occur
Additional context
I have already identified the location of the cause and the following code is the culprit.
Describe the bug
When any input is made in REPL mode, an infinite loop is occurred.
Reproducible code
Additional context
I have already identified the location of the cause and the following code is the culprit.
erg/src/dummy.rs
Lines 104 to 107 in b56236a
Without avoiding the assignment of
Input::Str(src)
toself.compiler.cfg.input
, this will result in an infinite loop.The text was updated successfully, but these errors were encountered: