Repository navigation
Rust calls_out: select! arm and destructuring-assignment patterns are no call (Part of #6454) - #8307
Conversation
… no call (Part of #6454) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
PR #8307 @ da23806: 2 failed check(s) == shard 2 (1669474 LOC) (cancelled) -- infra == shard 4 (1669847 LOC) (cancelled) -- infra |
Part of #6454.
Checklist: partial [c:6cd0af0e] --
select!arm patterns ending at=fixed;x = Foo(a) =>(a constructor-call future before=>) is still dropped by the capitalised-tail heuristic.Class
Rust macro-arm and destructuring-assignment patterns that end at
=(not=>):select! { Foo { v: Bar(b) } = fut => .. },(A(a), B(b)) = f(). Struct and tuple shapes leaked constructors as callees. New_SELECT_ARM_PATTERNinrust.pyblanks them; start must be[A-Z(&], so*f(x) = 1,x.y = g(1)keep their calls.Tests
test_calls_out_rust_select_arms_6454.py(positive, negative, bounded-input). All 491 rust extraction tests pass.Gates
audit_check.pyclean; crucible golden check: no drift in either fixture (nothing to bless).Sibling gaps
select! { x = Foo(a) => .. }:Foois a real call but is suppressed by theCALLS_OUT_RUSTpattern tail. No burned-estate program needs it.Lessons for agents
CALLS_OUT_RUSTalready suppresses a capitalisedName(args)before=/=>/if/|; only struct/tuple shapes needed blanking.🤖 Generated with Claude Code