JuliaLang / JuliaSyntax.jl

The Julia compiler frontend
Other
274 stars 33 forks source link

Trailing linebreak is not significant in hcat #169

Closed c42f closed 1 year ago

c42f commented 1 year ago

In the reference parser, [a b\n\n] parses as (hcat a b), not vcat with a single row.

Part of #134

On further thought, I'm not sure whether this is a bug here or in the reference parser. The behavior of the reference parser seems a bit inconsistent.

c42f commented 1 year ago

I chatted to Jeff about this he thinks it's fine as-is. So let's go with this.