Skip to content

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

@lolmanurfunny

Description

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions