Skip to content

Inherited method in a two-level ClassExprFresh chain sees undefined for a captured local (capture forwarding, not instanceof) #10642

Description

@proggeramlug

Found while fixing #10624 (PR #10640) and confirmed unrelated to instanceof — filing separately so it is not
lost in that PR's body.

Shape: a two-level ClassExprFresh chain, where an inherited method closes over a captured local, returns
undefined instead of the captured value.

This is capture forwarding through a dynamically-evaluated class chain, not a prototype or instanceof question.

Likely neighbours — check these first

If this turns out to be the remaining half of #10486 rather than a distinct defect, say so on both issues and
close whichever is the duplicate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package-auditFound by the 2026 package audit: compiling real npm packages from source instead of native bindings

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions