Repository navigation
fix: reference-manual breakage from nightly-2026-10-08 - #148
Merged
Merged
Conversation
lean4#15533 (`refactor: implement String.toList in Lean`) reimplements
`String.toList` in Lean and, since the deprecation was nearly a year old,
removes every trace of `String.data`. The `Palindrome` example in
`Manual/Language/InductiveTypes/Structures.lean`, which illustrates a
non-default structure constructor name, still phrased its invariant with
`text.data`:
error: Manual/Language/InductiveTypes/Structures.lean:192:23: Invalid field `data`:
The environment does not contain `String.data`, so it is not possible to project
the field `data` from an expression
error: Manual/Language/InductiveTypes/Structures.lean:189:0: No error expected in code block, one occurred
Use `text.toList` instead. `String.toList` is `noncomputable` now, which does
not matter here: the field is a `Prop`.
This was hidden behind the `verso` failure that #145 fixes, so CI has never
built `reference-manual` on this nightly; it was found by building the repo
locally on top of that PR's hunk.
Verified with a full `lake build` (1583 jobs). `reference-manual` defines
neither a test nor a lint driver.
Co-Authored-By: Claude Opus 5 <[email protected]>
Contributor
Author
Build report for fix: reference-manual breakage from nightly-2026-10-08Stayed red
Stayed green
|
hargoniX
enabled auto-merge (squash)
October 8, 2026 19:08
hargoniX
disabled auto-merge
October 8, 2026 19:08
This was referenced Oct 9, 2026
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.
masteris red onnightly-2026-10-08(run 37811116340):versofails to build andreference-manual,verso-slidesandverso-web-componentsare skipped behind it.The
versofailure is unchanged from the last four rounds and is fixed by the still-open #145. Building the skipped repos locally on top of that PR's hunk uncovers one more failure, which CI has never reached — hence this PR.reference-manual
lean4#15533 (
refactor: implement String.toList in Lean) reimplementsString.toListin Lean and, since the deprecation was nearly a year old, removes every trace ofString.data. ThePalindromeexample inManual/Language/InductiveTypes/Structures.lean, which illustrates a non-default structure constructor name, still phrased its invariant withtext.data:Use
text.toListinstead.String.toListisnoncomputablenow, which does not matter here: the field is aProp.Verified
All on
nightly-2026-10-08, in a checkout carrying #145's hunk:reference-manuallake buildgreen, 1583 jobs (no test or lint driver)versolake buildgreen, 1294 jobs;lake test768 passed, 0 failedverso-web-componentslake buildgreen, 475 jobsverso-slideslake buildgreen, 755 jobs;lake test -- --no-playwrightgreenverso'sDemoSite.Blog.Subprojectswas re-elaborated withtest-projects/website-examples/.lake/buildremoved, so #145's hunk was genuinely exercised rather than replayed from the artifact cache.Not covered
This PR alone does not make
mastergreen:versostill needs #145, which has been open since 2026-10-07. Its own CI run here will showversored andreference-manualskipped for exactly that reason.