Skip to content

The seed-bound ceremony rewrites, now that the seed is past D197 and D111 (#3073) - #3082

Merged
ehartford merged 2 commits into
mainfrom
seed-bound-sweep
Nov 8, 2026
Merged

ehartford merged 2 commits into
mainfrom
seed-bound-sweep

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Under the new seed, with fix-ceremony --apply --check-with src/main src/main.w applies the 242 rewrites the previous seed refused (165 .clone() on a str, 69 (k as u32) shift counts, 4 : str annotations, 2 Some) plus the loops they unblocked: 330 rewrites in 31 files, nothing kept as written, the seed checks the result. Census: clone-call 37 → 31, index-loop 1042 → 1004 in the changed files. The 807 len() as i32 stay for a separate decision: removing one trades the cast for D183's range-check lint, which asks the i32 declaration to widen; the question is recorded on #3073.

…D111 (#3073)

`with fix-ceremony --apply --check-with src/main src/main.w` under
nightly-20261110-local-1: the 242 rewrites the previous seed refused (165
`.clone()` on a str, 69 `(k as u32)` shift counts, 4 `: str` annotations,
2 `Some`) and the loops they unblocked, 330 rewrites in 31 files; the new
seed checks the result and nothing is kept as written. Census: clone-call
37 -> 31, index-loop 1042 -> 1004 in the changed files. The 807
`len() as i32` stay: dropping one trades the cast for D183's "narrows with
a range check" lint, which asks for the declaration to widen; that is a
separate decision on the lint, recorded on the issue.
… one proxy per body, and the validator says so

`return g` of a global str lowered to `_0 = move _1` and reset-on-move
blanked the global: tail_local_moves_out turned the proxy's copy into a
move without the local_is_global check its block-tail twin has. A global
first touched inside a block was bound in that block's scope, so the
later tail made a second proxy and moved it. The proxy is now remembered
for the body (bind_global_proxy, lookup_local's fallback), and the
ownership validator refuses a `move` rooted in a global local, which it
let through here. Found by the seed-bound sweep: the `.clone()` it
removed in build_cache_current_compiler_fingerprint was guarding this
(four build-store fixtures). Fixture behav_3086_global_str_return_copies.
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