Skip to content

Revert #799 until its changes self-host - #800

Closed
cramforce wants to merge 1 commit into
mainfrom
fix/revert-799
Closed

cramforce wants to merge 1 commit into
mainfrom
fix/revert-799

Conversation

@cramforce

Copy link
Copy Markdown
Contributor

Reverts #799 to get main green again.

After #799, main's CI fails in two ways:

  • Bootstrap-seed builds: the self-hosted compiler can no longer lower LlEmitter. Building the native CLI (packages/compiler/src/native/cli.ts) fails with SC1090: constructing through a class value whose class has no lowering, and no diagnostic is ever reported for the class itself (a separate scriptc reporting bug). Bisecting tsc-ts -5%: borrow field-store receivers, virtual parameters and array projections #799's commits: the first one that breaks it is "Borrow parameters that every implementation of a virtual method borrows", but reverting only that one is not enough, so more than one commit trips the self-hosted subset.
  • tests/harness/inheritance.test.ts: three tests still expect owned vtable entries (@sc_f_…) where virtual-slot borrowing now stores the borrowing body.

The resulting tree is identical to #795's tip. Checked locally: the native CLI frontend compiles with no diagnostics, and inheritance.test.ts plus self-hosting-emission.test.ts pass.

#799's changes (~5% on the tsc-ts self-check) will be re-landed commit by commit, with the native bootstrap and the inheritance tests checked for each, together with a fix for the missing class diagnostic.

…and array projections" (#799)

With #799 the self-hosted compiler can no longer lower LlEmitter:
building the native CLI fails with SC1090 ("constructing through a class
value whose class has no lowering") and no diagnostic for the class
itself, which breaks the bootstrap-seed builds. inheritance.test.ts also
still expected owned vtable entries after the virtual-borrowing change.
More than one of its commits trips the self-hosted subset, so revert the
whole PR to get main green; the changes will be re-landed one by one
with the native bootstrap checked for each.
@vercel

vercel Bot commented Oct 9, 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 Oct 9, 2026 6:29pm UTC

@ctate

ctate commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

Fixed in #801

@ctate ctate closed this Oct 9, 2026

This branch was successfully deployed

1 active deployment
Preview — 6520b275 Deployed Oct 9, 2026 by vercel[bot]
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