Rewrite ratchet: count #150's mut_two_names fixture (main's Tests job is red) #155

Merged
sionzee merged 1 commit from rewrites-ratchet-150 into main 2026-11-24 11:39:03 +01:00
Owner

Main's Tests job has failed since #150, and so does every PR based on it (#152, #153, #154):

tests/rewrites/misses.txt differs from what the harness finds:
  new missing-mut hoist-const: listed 226, found 229
  text aliased-mut call: listed 14, found 16

All five come from mut_two_names, the fixture #150 added. The full-mode report (SAFE_TS_REWRITES_REPORT) shows these spellings:

  • const value1 = mut(account); transfer(value1, …) on lines 13–15: a loan kept in a const, a class the list already carries (new missing-mut hoist-const).
  • transfer.call(undefined, …) on lines 14–15: the message numbers the arguments from 2, an existing class too (text aliased-mut call).

This PR raises both counts and adds no new kind of miss. SAFE_TS_REWRITES=full cargo test -p safe_ts_core --test rewrites passes (3/3, 460 s).

🤖 Generated with Claude Code

Main's Tests job has failed since #150, and so does every PR based on it (#152, #153, #154): ``` tests/rewrites/misses.txt differs from what the harness finds: new missing-mut hoist-const: listed 226, found 229 text aliased-mut call: listed 14, found 16 ``` All five come from `mut_two_names`, the fixture #150 added. The full-mode report (`SAFE_TS_REWRITES_REPORT`) shows these spellings: - `const value1 = mut(account); transfer(value1, …)` on lines 13–15: a loan kept in a `const`, a class the list already carries (`new missing-mut hoist-const`). - `transfer.call(undefined, …)` on lines 14–15: the message numbers the arguments from 2, an existing class too (`text aliased-mut call`). This PR raises both counts and adds no new kind of miss. `SAFE_TS_REWRITES=full cargo test -p safe_ts_core --test rewrites` passes (3/3, 460 s). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Rewrite ratchet: count #150's mut_two_names fixture (main's Tests job is red)
All checks were successful
Benchmarks / bench (pull_request) Successful in 5m0s
Tests / test (pull_request) Successful in 23m13s
907e3de0b3
#150 added the fixture mut_two_names. In full mode its spellings add three
cases to `new missing-mut hoist-const` (a loan kept in a const) and two to
`text aliased-mut call` (`f.call(...)` numbers the arguments from 2). Both
are classes the list already carries, with the same reasons. Main's Tests job
has failed on this since #150; every PR based on main fails it too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
sionzee deleted branch rewrites-ratchet-150 2026-11-24 11:39:03 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Evobug/Safe-Ts!155
No description provided.