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
let tokens = lex("print(", Mode::Expression);
tokens is an infinite iterator when the source contains an error.
Is it intended behaviour for the iterator to be infinite?
The text was updated successfully, but these errors were encountered:
nithinmuthukumar
changed the title
Error in string yields infinite iterator
Error in source yields infinite iterator
Apr 11, 2024
let tokens = lex("print(", Mode::Expression);
tokens is an infinite iterator when the source contains an error.
Is it intended behaviour for the iterator to be infinite?
The text was updated successfully, but these errors were encountered: