Skip to content

[TS] Lock the rest-parameter caller packing contract (#373) - #420

Merged
CaelmBleidd merged 1 commit into
neofrom
caelmbleidd/ts-373-rest-parameter-contract
Oct 10, 2026
Merged

CaelmBleidd merged 1 commit into
neofrom
caelmbleidd/ts-373-rest-parameter-contract

Conversation

@CaelmBleidd

@CaelmBleidd CaelmBleidd commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

This MR documents and tests the existing rest-parameter contract: the frontend emits isRest and raw call arguments, and the call consumer packs trailing arguments into the array read through ParameterRef. It adds JSON/model metadata preservation and regression cases for empty/multiple rest arguments, ordering, and missing ordinary parameters. The production change is a documentation line; no new frontend packing implementation is introduced.

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

Fixes #373

@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-373-rest-parameter-contract branch from fe89681 to 790f734 Compare October 7, 2026 21:41
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-372-parameter-defaults branch from a915f6e to e0cbb16 Compare October 10, 2026 17:38
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-373-rest-parameter-contract branch from 790f734 to 9d6f52d Compare October 10, 2026 17:38
@CaelmBleidd
CaelmBleidd changed the base branch from caelmbleidd/ts-372-parameter-defaults to neo October 10, 2026 17:38
@CaelmBleidd
CaelmBleidd merged commit 85cde3e 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