Skip to content

[TS] Preserve computed property Get and Put evaluation order - #423

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

CaelmBleidd merged 1 commit into
neofrom
caelmbleidd/ts-computed-access-order

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Generic computed property reads, calls and tags now evaluate the key expression, reject a nullish receiver, and then perform key coercion in the correct order. Computed write references retain the raw key so Get and Put each convert it at their own evaluation point; ordinary assignment evaluates and saves its RHS before Put-time coercion. An obsolete PropertyRef fallback is removed from the replaced computed-write path. The scope is key/Get/Put ordering; numeric conversion of postfix results is outside this change.

Validation: fresh typecheck and focused frontend tests (22 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 production tree exactly. For #421 and later, the expected tree also carries the reviewed Kotlin for-await assertion corrections. Frontend/JSON/model correctness does not establish downstream USVM execution support.

@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-support-frontend-regressions branch from 46e3ef9 to e0c782a Compare October 7, 2026 21:41
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-computed-access-order branch from cfbf2ea to cae216a Compare October 7, 2026 21:41
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-support-frontend-regressions branch from e0c782a to 103b982 Compare October 10, 2026 17:41
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-computed-access-order branch from cae216a to 06bc399 Compare October 10, 2026 17:41
@CaelmBleidd
CaelmBleidd changed the base branch from caelmbleidd/ts-support-frontend-regressions to neo October 10, 2026 17:41
@CaelmBleidd
CaelmBleidd merged commit 2a30330 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