Skip to content

[TS] Execute object literal methods with their call receiver - #645

Draft
CaelmBleidd wants to merge 2 commits into
caelmbleidd/ts-promise-settlement-argumentsfrom
caelmbleidd/ts-execute-object-literal-methods
Draft

CaelmBleidd wants to merge 2 commits into
caelmbleidd/ts-promise-settlement-argumentsfrom
caelmbleidd/ts-execute-object-literal-methods

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Execute frontend-lowered object literal methods with their dynamic call receiver. Reject construction of a method with JavaScript's TypeError and stop detached sloppy methods where execution would require the JavaScript global object. Source regressions cover per-evaluation method identity, prototype and computed boundaries, async invocation, mutable sibling captures and loop-local cells. Node checks the supported fixture outcomes.

Uses the published JacoDB #454 artifact at a797c89047e88392d4d5bf6063480a7d09cfe843. Targets #622 because that branch already registers the required function and Promise runtime types. All 15 focused engine tests and both Detekt tasks passed with the exact published artifact. The tests include parameter reassignment, uninitialized lexical bindings, deferred self-captures and the eager initialization boundary. Node confirms the concrete results.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant