Skip to content

t27c: rejects_invalid_width test uses u65, u3 is a legal cast since #10084 (Closes #10320) - #10322

Merged
gHashTag merged 1 commit into
masterfrom
fix/stale-width-u3-10320
Oct 18, 2026
Merged

gHashTag merged 1 commit into
masterfrom
fix/stale-width-u3-10320

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #10320

x as u3 has been a legal cast since #10084 (uN, 1 <= N <= 64, decided in specs/compiler/int_type_names.t27), so rejects_invalid_width_u3 failed on master and turned test-ratchet red on every open PR.

The unit still guards the same contract, that an invalid integer width in a cast is a compile error, now with u65, which int_type_names.t27 refuses. Renamed to rejects_invalid_width_u65.

  • bootstrap/src/compiler.rs: 4 lines changed, net zero (comment, name, cast literal).
  • bootstrap/stage0/FROZEN_HASH: recomputed.
  • Verified on the Railway lab: rejects_invalid_width_u65 ... ok.
  • No codegen change: the edit is inside mod tests_compiler_rejects.

🤖 Generated with Claude Code

…10084 (Closes #10320)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-18 08:54:30 UTC

Summary

Status Count
Total Open PRs 50
PRs with Failing Checks 49
PRs with All Checks Green 1
READY 0
FAILING 49
PENDING 0
NO CHECKS YET 0

These columns do not partition: 0 + 49 + 0 + 0 = 49, and there are 50 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=fad12492937a != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag enabled auto-merge (squash) October 18, 2026 09:00
@gHashTag
gHashTag merged commit 910bced into master Oct 18, 2026
39 of 40 checks passed
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.

test-ratchet red on master: rejects_invalid_width_u3 is stale since uN casts were accepted

1 participant