JuliaLang / JuliaSyntax.jl

The Julia compiler frontend
Other
267 stars 32 forks source link

`BoundsError` when parsing expression with unbalanced parenthesis #389

Closed cafaxo closed 7 months ago

cafaxo commented 7 months ago

JuliaSyntax fails to parse the following invalid expression:

julia> [(rand(),)) for _ in 1:1]
┌ Error: JuliaSyntax parser failed — falling back to flisp!
│   exception = (BoundsError(Any[], (1,))
c42f commented 7 months ago

This should be fixed in the latest release - try JuliaSyntax-0.4.7 ?