Skip to content

Add static union receiver calls - #359

Merged
ctate merged 1 commit into
mainfrom
codex/static-union-receiver-calls
Sep 20, 2026
Merged

ctate merged 1 commit into
mainfrom
codex/static-union-receiver-calls

Conversation

@ctate

@ctate ctate commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • dispatch same-ABI class methods and checked-dynamic callable fields across union receiver arms
  • compile map and forEach on array unions without copying receivers, preserving holes, mutation timing, callback identity, and evaluation order
  • fix numeric array in checks to query real slot presence and raise the Commander static floor to 1,200 statements with 56 or fewer deferred fences
  • add Node-differential corpus coverage, TS 7 live-parity coverage, baselines, and limitations documentation

Validation

  • pnpm --filter @scriptc/compiler build
  • pnpm exec eslint packages/compiler/src/frontend/lowering/lower-calls.ts packages/compiler/src/frontend/lowering/lower-containers.ts packages/compiler/src/frontend/lowering/lower-exprs.ts packages/compiler/src/frontend/lowering/lowerer.ts
  • focused differential corpus for 2930/2931
  • focused Commander npm-static acceptance
  • pnpm test:ts7 (143 tests; 1,403-entry full sweep)
  • pnpm node-compat:check
  • NEXT_DIST_DIR=.next-check pnpm check in docs/
  • pnpm test:sandbox (plain + sanitized lanes passed in 11.2 minutes)

@vercel

vercel Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scriptc Ready Ready Preview, v0 Sep 20, 2026 3:02pm UTC

@ctate
ctate force-pushed the codex/static-union-receiver-calls branch from 8df61a0 to 18cd67b Compare September 20, 2026 15:02
@ctate
ctate merged commit bef652e into main Sep 20, 2026
21 checks passed
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