Repository navigation
Remove the 212e42b0 annotation workarounds; pin the seed that carries them - #1686
Merged
Merged
Conversation
added 2 commits
September 25, 2026 16:46
Audit all 232 historical annotations; remove 210 redundant surviving Unit annotations and preserve six intentional contracts. Restore inferred Never for fatal build diagnostics and remove unreachable continuations, retaining error aggregation and cleanup. Evidence: LLDB at SemaCheck.w:9894 observed block_diverged=1 on the dead continuation; local fixed-parser self-compile and fresh compiler build.w check pass. Scanner, runtime-domain negative mutation, spec inventory, and user-programs-safe gates pass. This is local verification, not a canonical pinned-seed battery; parser foundation must land and reseed first. See docs/public-return-inference-audit.md.
…s the annotation cleanup The pinned seed (8d3cc36) predates public return inference, and main's a5c6f43 compiler embeds the old `Diagnostics.error -> Unit` stdlib, so neither can evaluate this tree's build layer (four "missing return" errors in build/selfhost.w). Unreachable code after a `Never` call is a hard error, so the cleanup cannot be split into a two-step an existing seed could drive. The seed chases the tree: it is cut from 607a52f, bootstrapped locally to a byte-identical stage2/stage3 fixpoint, and it checks build.w and compiles the native build runner without fallback. Its lock and workflow pins land with the cleanup; the branch's full battery driven by this seed validates it before merge.
Contributor
Author
|
Battery verdict — green. Driven by the pinned seed
Logs: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the 210 redundant
-> Unitannotations 212e42b added when it made visibility an inference boundary (#1683 restored public return inference); keeps six intentional ones with a recorded rationale (docs/public-return-inference-audit.md).Diagnostics.errorand__driver_exitthen inferNever, which exposes and removes the dead fallback returns after fatal diagnostics in the build layer, and moves the checksum-failure temp-file deletion before its fatal diagnostic. A negative regression pins that a caller cannot continue afterDiagnostics.error.Seed transition. No published seed can drive this tree (the pinned 8d3cc36 seed predates public inference; main's a5c6f43 compiler embeds the old Unit signature and reports four missing returns in
build/selfhost.w; unreachable code after aNevercall is a hard error, so no seedable two-step exists). The seed is cut from this tree:nightly-20260925-local-1-607a52f543e7, asset SHA-2567456c37b78f284670ce7fac060656ab1f4f243e99a1570736deb9ae65b715c53, bootstrapped locally to a byte-identical stage2/stage3 fixpoint at 607a52f; it checksbuild.wand compiles the native build runner (19.6s, no fallback).seed.lockand the workflow pins are bumped to it in the second commit;:seedfetched and digest-verified the published asset.Status: draft until the full battery driven by the new seed is green and posted here (build, fixpoint, drop-audit, move-audit, test, test-green, last-green, user-programs-safe).