Skip to content

[TS] Pass packed rest arguments through default constructors - #646

Draft
CaelmBleidd wants to merge 2 commits into
caelmbleidd/ts-computed-member-identityfrom
caelmbleidd/ts-forward-default-constructor-rest
Draft

CaelmBleidd wants to merge 2 commits into
caelmbleidd/ts-computed-member-identityfrom
caelmbleidd/ts-forward-default-constructor-rest

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Pass the inherited rest array through synthetic default constructors when the frontend marks the forwarding call. Validate that the marker's final argument is an already packed array. Support symbolic arrays with provable runtime array storage, and stop unsupported references explicitly. Ordinary calls continue using the existing rest packing path.

Uses the published JacoDB #453 artifact at 5fb86717. Targets #578 because that branch supplies the producer's computed member identity support. All nine superclass-constructor tests and both Detekt tasks passed locally. An independent run on the exact published head passed ten cases, including direct entry to an implicit constructor with a symbolic rest array and a check that the superclass receives the input array length.

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