StyLua icon indicating copy to clipboard operation
StyLua copied to clipboard

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

Open lolmanurfunny opened this issue 1 year ago • 0 comments

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

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

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

lolmanurfunny avatar Aug 17 '24 01:08 lolmanurfunny