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
{{ message }}
Repository navigation
Lua (all families): multi-line leveled long-bracket comments (--[=[ ... ]=], --[==[ ... ]==]) leak into the code stream #9449
SOP-002-v1 gap-cell decoy suite (epic #8863), Lua batch.
Leak. A multi-line Lua leveled long-bracket comment (--[=[ ... ]=], --[==[ ... ]==], --[===[ ... ]===]) is not removed from the code stream, so every keyword family counts what is inside it. The plain --[[ ... ]] block, the single-line leveled forms (--[==[ x ]==]) and -- line comments pass; only the multi-line leveled forms leak. A ]] inside a level-2 comment does not close it in the Lua spec (the closer must have the same level), and also leaks.
--[==[local max <const> = 100]==]
Expected immutability_locks 0, actual 1 (same for import with require('json') and scientific with math.floor(x)).
Lua block comments do not nest, and the engine agrees: --[[ a --[[ b ]] <kw> ]] leaves <kw> as code, as the spec says. Pinned by strict xfail in tests/decoys/test_decoy_lua.py.
Activity
tests/decoys: SOP-002 gap-cell decoy suites, batch E (ruby, lua, shel…