Skip to content

[TS] Evaluate computed object-binding keys once (#384) - #412

Merged
CaelmBleidd merged 1 commit into
neofrom
caelmbleidd/ts-384-computed-bindings
Oct 10, 2026
Merged

CaelmBleidd merged 1 commit into
neofrom
caelmbleidd/ts-384-computed-bindings

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Computed object-binding keys now undergo ToPropertyKey once, and the same converted key is reused for both property access and rest exclusion. The source remains stable across key side effects, nullish-source rejection precedes key evaluation, and computed bindings also lower inside for-of loops.

Validation: fresh typecheck and focused frontend tests (5 passed) on the exact rewritten head. The complete semantic stack at original #425 also passed the frontend build and 622 tests. Rebase preserved the original source tree exactly. Frontend/JSON/model correctness does not establish downstream USVM execution support.

Fixes #384

@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-384-computed-bindings branch from b610506 to 6a6b247 Compare October 10, 2026 17:35
@CaelmBleidd
CaelmBleidd changed the base branch from caelmbleidd/ts-382-object-rest to neo October 10, 2026 17:35
@CaelmBleidd
CaelmBleidd merged commit d19ad0c into neo Oct 10, 2026
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