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
In 5.4 you can say things like local color_type <const> = type(color) but stylua can't parse the <
error: could not format file ./modules/NobleScene.lua: error parsing: error occurred while creating ast: unexpected token `<`. (starting from line 187, character 14 and ending on line 187, character 15)
additional information: expected 'end'
The text was updated successfully, but these errors were encountered:
will
changed the title
Support Lua5.4 local declarations like <const> ?
Support Lua5.4 local var attributes like <const> ?
Aug 14, 2022
https://www.lua.org/manual/5.4/manual.html#3.3.7
In 5.4 you can say things like
local color_type <const> = type(color)
but stylua can't parse the<
The text was updated successfully, but these errors were encountered: