You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Out of curiosity, does local goto = 1 work in Lua 5.2 for backwards compatibility? If not this becomes a real pain considering we only support Lua 5.2 as a feature, and not as a toggleable.
I guess this can probably be fixed, but we are breaking the additive nature of rust features - doesn't look like there's any great solution here, other than waiting for pluggable parsing
In non-Lua5.2 code, using
goto
as a variable name leads to a parsing error.It seems to be stemming from
full-moon/full-moon/src/tokenizer.rs
Lines 33 to 34 in 633774a
goto
is a restricted symbol (for Lua 5.2+), but this is leaking into the parsing for 5.1/Luau.Reported in JohnnyMorganz/StyLua#229
The text was updated successfully, but these errors were encountered: