Skip to content

Pin the semantic-error formatter contract - #7

Merged
konojunya merged 1 commit into
mainfrom
jj/pin-semantic-formatting-contract
Sep 3, 2026
Merged

Pin the semantic-error formatter contract#7
konojunya merged 1 commit into
mainfrom
jj/pin-semantic-formatting-contract

Conversation

@konojunya

Copy link
Copy Markdown
Contributor

Background

The canonical formatter specification now permits syntactically valid source with semantic errors to be formatted while preserving its portable diagnostic-code set. The compiler must record the final merged specification revision before the engine consumes both contracts.

Implementation

Update tests/specification-revision to the final specification squash commit f382069928c805fe69b7a192bfd6a877036bc036. No compiler implementation changes are required.

Testing

  • cargo +stable fmt --check
  • cargo +stable test
  • canonical conformance against the merged specification revision
  • stable Clippy and rustdoc
  • coverage gates (97.90% regions, 99.13% functions, 98.60% lines)
  • Rust 1.85 tests and Clippy
  • git diff --check

Review focus / concerns

This PR changes only the immutable specification pin. Compiler schemas, diagnostics, AST, normalized IR, lossless tokens, and source maps are unchanged.

@konojunya
konojunya merged commit 17a0abe into main Sep 3, 2026
2 checks passed
@konojunya
konojunya deleted the jj/pin-semantic-formatting-contract branch September 3, 2026 04:52
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.

1 participant