JuliaLang / JuliaSyntax.jl

The Julia compiler frontend
Other
274 stars 33 forks source link

Allow different parsings of `(a; b,)` to compare equal #184

Closed c42f closed 1 year ago

c42f commented 1 year ago

The reference parser sees (a; b,) as a block, but the trailing comma implies this should be a frakentuple. Allow this unusual syntax as a minor bug in the reference parser.

Part of #134