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
error: could not format from stdin: failed to format from stdin: error parsing: error occurred while creating ast: unexpected token `::`. (starting from line 52, character 5 and ending on line 52, character 7)
additional information: expected 'end'
This is likely a full-moon issue rather than something specific to stylua, but I don't want to jump the gun just in case.
The text was updated successfully, but these errors were encountered:
The stylua release binaries are built with all feature flags enabled, and the Luau type assertion syntax conflicts with Lua 5.2 label syntax.
You can use cargo to build a binary with only lua52 enabled and that should work. Hopefully in the next major release we will have runtime configurable syntax selection
Attempting to format this valid Lua code:
gives the following error:
This is likely a full-moon issue rather than something specific to stylua, but I don't want to jump the gun just in case.
The text was updated successfully, but these errors were encountered: