JuliaLang / JuliaSyntax.jl

The Julia compiler frontend
Other
272 stars 35 forks source link

Fix premature lowering of `K"core_@cmd"` etc #438

Closed c42f closed 2 months ago

c42f commented 3 months ago

There are four macrocalls to special Kinds which are arguably premature lowering.

K"core_@cmd"
K"core_@int128_str"
K"core_@uint128_str"
K"core_@big_str"

In the same way that we removed K"core_@doc previously (see #217), these should have their own kinds instead:

K"cmdstring" # ??
K"Int128"
K"UInt128"
K"BigInt"

For K"core_@cmd" there might be some thought required: it could be either