Skip to content

vm: 5.3-only loop-built-closure equality caching (closure.lua) #96

@ianm199

Description

@ianm199

On 5.3, closures built in a loop with identical upvalues compare == due to closure caching (closure.lua:48); lua-rs creates distinct closures. 5.4/5.5 match already. VM/upvalue-capture change, 5.3-gated. Also blocks goto.lua:180 on 5.3 (the same upvalue-id sharing across a goto-driven loop). Re-entry notes: specs/followup/SHARED_CORE_REPORT.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    5.3Lua 5.3 version-specific behaviorbugSomething isn't workingpriority: mediumParity gap, well-scoped

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions