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
Honor Lua 5.3–5.5 table.insert indexed access and proxies #162
PUC Lua 5.3–5.5 prints set 4, set 3, and proxy on successive lines. NovaSharp prints nil. PUC Lua 5.1 and 5.2 use raw reads and writes. A two-argument append into an absent key must also use indexed assignment in Lua 5.3–5.5, including when the appended value is nil.
The versioned length conversion, length operands, positional bounds, and 64-bit keys are covered in #166. This issue tracks the separate indexed-access path and proxy validation.
Acceptance
Match indexed reads and writes for Lua 5.3–5.5, including absent keys, nil writes, hook call order, and table or function hooks.
Accept eligible proxy values that supply the length, read, and write metamethods identified by PUC Lua.
Preserve raw access in the Lua 5.1 and 5.2 profiles. Check related table functions that share the raw index path and record which ones need the same semantics.
Add paired TUnit and standalone Lua regressions across the applicable profiles, then regenerate and compare the corpus.
changed the title [-]Match Lua 5.3–5.5 table.insert length and indexing metamethods[/-][+]Match table.insert length and indexing metamethod semantics[/+]on Nov 24, 2026
changed the title [-]Match table.insert length and indexing metamethod semantics[/-][+]Honor Lua 5.3–5.5 table.insert indexed access and proxies[/+]on Nov 24, 2026
Activity
[-]Match Lua 5.3–5.5 table.insert length and indexing metamethods[/-][+]Match table.insert length and indexing metamethod semantics[/+][-]Match table.insert length and indexing metamethod semantics[/-][+]Honor Lua 5.3–5.5 table.insert indexed access and proxies[/+]Fix table.insert arity and return values across Lua profiles (#166)