JuliaLang / JuliaSyntax.jl

The Julia compiler frontend
Other
274 stars 33 forks source link

Misleading error message when missing comma in argument list #336

Open LilithHafner opened 1 year ago

LilithHafner commented 1 year ago

flisp

julia> f(a, b, c d, e)
ERROR: syntax: missing comma or ) in argument list

JuliaSyntax

julia> f(a, b, c d, e)
ERROR: ParseError:
# Error @ REPL[12]:1:11
f(a, b, c d, e)
#         └──┘ ── Expected `)`