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
Since the backport of #397 to release-0.4 (julia nightly since JuliaLang/julia#56110) and also on main, I cannot enter multi-line input which contains comments. Once I press return after the comment it directly aborts with a ParseError instead of letting me continue the input in the next line:
The same happens when entering an array in multiple lines:
julia> arr = [
1,
2,
3, # i like this number
ERROR: ParseError:# Error @ REPL[3]:4:32,
3, # i like this number# └ ── Expected `]` or `,`
Stacktrace:
[1] top-level scope
@ REPL:1
Note that this applies only to entering this manually line by line, pasting multi-line strings with comments works fine.
With previous julia nightly (or JuliaSyntax.jl) versions the error appears only on the second consecutive empty line:
julia> arr = [
1,
2,
3, # i like this number
ERROR: ParseError:# Error @ REPL[33]:5:23, # i like this number#└ ── Expected `]`
Stacktrace:
[1] top-level scope
@ REPL:1
The text was updated successfully, but these errors were encountered:
Since the backport of #397 to
release-0.4
(julia nightly since JuliaLang/julia#56110) and also onmain
, I cannot enter multi-line input which contains comments. Once I press return after the comment it directly aborts with aParseError
instead of letting me continue the input in the next line:The same happens when entering an array in multiple lines:
Note that this applies only to entering this manually line by line, pasting multi-line strings with comments works fine.
With previous julia nightly (or JuliaSyntax.jl) versions the error appears only on the second consecutive empty line:
The text was updated successfully, but these errors were encountered: