Skip to content

[TS] Dispatch intrinsic iteration to project symbol methods - #656

Draft
CaelmBleidd wants to merge 4 commits into
caelmbleidd/ts-computed-member-identityfrom
caelmbleidd/ts-project-symbol-iterator
Draft

CaelmBleidd wants to merge 4 commits into
caelmbleidd/ts-computed-member-identityfrom
caelmbleidd/ts-project-symbol-iterator

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

When a call carries the intrinsic iterator key, preserve native array and string iterator handling and dispatch supported project receivers to their nearest symbol-keyed class method. String lookalikes and symbolic receivers without evidence of a modeled iterator stop explicitly. Native iterator objects return themselves for an explicit intrinsic iterator call.

Uses the published JacoDB #455 artifact at 1332879057bac99911599c6ab27299da5e88a48b and targets #578 for its existing member-key identity semantics. All 19 iterator, computed-member and sparse-array tests and both Detekt tasks passed locally. The computed-member suite now verifies that an explicit Symbol.iterator call selects the symbol method and returns the value observed by Node. The symbolic receiver regression collects every reached terminal candidate, including inherited and overridden branches. A symbolic successor whose own property shadows the iterator reports the same explicit runtime reason as an entirely unmodeled receiver.

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