Skip to content

[TS] Execute declared getters and preserve source class metadata - #649

Draft
CaelmBleidd wants to merge 3 commits into
caelmbleidd/ts-declared-accessor-read-boundaryfrom
caelmbleidd/ts-execute-declared-getters
Draft

CaelmBleidd wants to merge 3 commits into
caelmbleidd/ts-declared-accessor-read-boundaryfrom
caelmbleidd/ts-execute-declared-getters

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

Execute declared instance getters for exact allocated class receivers, including inherited getters, their side effects and exceptions, and reads of setter-only descriptors. Preserve own data shadowing. Keep accessor writes, prototype mutation and input receivers without an exact prototype as explicit boundaries.

The same exact class metadata preserves the identity of ordinary project constructors during base initialization, their supported name reads, and inherited field types fixed by an extends chain. The reflection boundary stops operations that can replace constructor or prototype lookup.

Uses JacoDB #452 at de25a05e. Targets #595 so its legacy method-value boundary remains in effect where applicable. Ten source-level and replay test methods passed locally using exact frontend source substitution. The pinned artifact and PR CI still need verification.

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.

2 participants