Skip to content

[TS] Preserve numeric results and selected references in updates - #424

Merged
CaelmBleidd merged 2 commits into
neofrom
caelmbleidd/ts-postfix-tonumeric
Oct 10, 2026
Merged

CaelmBleidd merged 2 commits into
neofrom
caelmbleidd/ts-postfix-tonumeric

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

For let x: any = "3"; const old = x++;, the frontend previously returned the raw string as old. It now returns numeric 3 and converts an object once before computing and storing the update. Prefix/postfix ++/-- preserve BigInt and save the selected receiver/index before getter, key or numeric-conversion effects can change source bindings. Computed Get/Put conversions retain the ordering from #423.

Validation: fresh typecheck and focused frontend tests (64 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-computed-access-order branch from cfbf2ea to cae216a Compare October 7, 2026 21:41
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-postfix-tonumeric branch from 8de6b35 to ba84126 Compare October 7, 2026 21:41
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-computed-access-order branch from cae216a to 06bc399 Compare October 10, 2026 17:41
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-postfix-tonumeric branch from ba84126 to fe4515d Compare October 10, 2026 17:41
@CaelmBleidd
CaelmBleidd changed the base branch from caelmbleidd/ts-computed-access-order to neo October 10, 2026 17:41
@CaelmBleidd
CaelmBleidd merged commit e57e486 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