Repository navigation
Build the validation reference compiler with OCaml 5.5.2 - #95
Merged
Merged
Conversation
The Rust message formatter follows the break sizing of OCaml 5.5's Format (4ac5138), and ci.yml builds the compiler with OCaml 5.5.2, but this workflow still built its reference compiler with 5.3.0. Under 5.3 a break followed directly by another break is sized with the second one's width, so the reference printed at .../repeated_module_name.res:2:8 Names must be unique in a given structure or signature. where the Rust compiler, like OCaml 5.5, prints the second line without the extra space. Diagnostic parity failed on that fixture for every commit since. Co-authored-by: Jaap Frolich <jfrolich@gmail.com> Session: https://jakes-mac-mini.tail23a77e.ts.net:8443/session/os-01a1c9fa-0c5d-7912-a93b-3e7f38e53547 Signed-off-by: open-session-submodule[bot] <341020755+open-session-submodule[bot]@users.noreply.github.com>
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.
What
rust-rewrite-validation.ymlbuilds its reference compiler with OCaml 5.5.2 instead of 5.3.0, the versionci.ymlalready uses.Why
release-parityhas failed in its "Diagnostic parity" step on every trunk commit since 4c8358d, and so on every PR based on them, with one difference intests/error_output_parity/compiler/fixtures/repeated_module_name.res:The message has two consecutive break hints after the location. OCaml 5.3's
Formatsizes the first with the width of the second included and breaks there; OCaml 5.5 sizes it before adding that width and breaks at the second. The Rust formatter was moved to the 5.5 behaviour in 4ac5138, whose message says the reference compiler now builds with 5.5.2, but this workflow kept 5.3.0.Verification
This PR's own
release-parityrun uses the changed workflow, so it passing is the test.Created by this Assistant session