Skip to content

[TS] Preserve receivers for captured pointer calls - #404

Merged
CaelmBleidd merged 1 commit into
neofrom
caelmbleidd/ts-pointer-receiver
Oct 10, 2026
Merged

CaelmBleidd merged 1 commit into
neofrom
caelmbleidd/ts-pointer-receiver

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

A cached property callable needs its original this value. Add an optional receiver field to PtrCallExpr in TypeScript and Kotlin, preserve it through JSON/model conversion, and include it once in operand and handler traversal. Legacy JSON defaults to no receiver. This is the shared prerequisite used by iterator, getter and tagged-template lowering.

Validation: fresh typecheck and focused frontend tests (1 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.

@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-376-constructor-spread branch from 8990cb6 to d38b583 Compare October 10, 2026 17:28
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-pointer-receiver branch from 57f95e4 to 50b36cb Compare October 10, 2026 17:28
@CaelmBleidd
CaelmBleidd changed the base branch from caelmbleidd/ts-376-constructor-spread to neo October 10, 2026 17:28
@CaelmBleidd
CaelmBleidd merged commit 9e1d3be 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