Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semicolon gets removed when using Luau's compound assignment operators, leading to ambiguous syntax #885

Closed
lolmanurfunny opened this issue Aug 17, 2024 · 0 comments · Fixed by #905
Labels
bug Something isn't working

Comments

@lolmanurfunny
Copy link

local function foo()
    return { b = "foo" }
end

local a = foo();
(a :: any).b ..= "bar"

Trying to use a -- stylua: ignore comment here does nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants