Repository navigation
D100: pub-lint-check guards the compiler's pub set in :battery-checks (#2211) - #2501
Merged
Merged
Conversation
…#2211) #2463 swept src/ of the 1,763 `pub` the compiler proved nothing outside the package uses; the lint re-run over current main reports 0 of 11,077 declarations. Nothing kept it that way: `pub-lint-check` runs `tools/pub_lint.w src/main.w` with the release compiler (224 s, 3.1 GB: battery-checks, not the gate) and fails on any reported `pub`, naming the `--apply` that removes it. The D100 record gains its status: lib/std is not swept, by ruling (Eric, 2026-10-19) — its `pub` is its API to consumers outside the compilation.
Contributor
Author
|
Battery GREEN on 919fa70 (stack top; 271 s, this Mac, seed nightly-20261020-local-2): gate (55 s warm), uat, battery-checks including the new pub-lint-check (0 of 11,077 declarations reported). |
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.
D100 (#2211) close-out: the src/ sweep landed as #2463 and the lint re-run over main reports 0 of 11,077 declarations; lib/std is not swept, by ruling (Eric, 2026-10-19). This PR keeps it that way:
pub-lint-checkin:battery-checksrunstools/pub_lint.w src/main.wwith the release compiler (224 s, 3.1 GB, hence not the gate) and fails on any reportedpub. The D100 record gains its status paragraph.Gate and battery: posted below.