Skip to content

foo[([==[bar]==])] = true is incorrectly formatted #991

@phanen

Description

@phanen
local foo = {
  [([==[bar]==])] = true,
  [([=[bar]=])] = true,
  [([[bar]])] = true,
}
foo[([==[bar]==])] = true
foo[([=[bar]=])] = true
foo[([[bar]])] = true

will be converted to error format

local foo = {
  [[==[bar]==]] = true,
  [[=[bar]=]] = true,
  [[[bar]]] = true,
}
foo[[==[bar]==]] = true
foo[[=[bar]=]] = true
foo[[[bar]]] = true

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