Repository navigation
Groovy: branch drops ?. and counts && / ||; bitwise_ops drops =~ ==~ (Part of #8863) - #9018
squid-protocol wants to merge 3 commits into
Conversation
…~/re/ (Part of #8863) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #9018 @ a30dc9d: 1 failed check(s) == graph-accuracy-audit (failure) -- real |
|
No description provided. |
|
PR #9018 @ 9267230: 1 failed check(s) == graph-accuracy-audit (failure) -- real |
|
No description provided. |
|
Superseded by #8939 (the branch / short_circuit family split). The decision (owner, 2026-11-21) is that boolean operators (&& || and or) are no longer counted in |
Fixes #8912 (Part of #8863).
What changed
branch:?no longer counts when it is the safe-navigation?., safe index?[or spread-safe?*.; ternary?and Elvis?:still count once;&&and||now count (as Java, WITHDRAWN: Java complexity does not count catch (not a bug: branch contract corollary 1) #8867).bitwise_ops: the~of=~,==~and a~/pat/literal no longer counts;^and~xstill do.Class and siblings
Class: operator-position token counting in Groovy. Siblings fixed here:
?[,?*.,~/re/.Golden drift
Groovy branch and bitwise counts move in both golden masters: intentional (fewer
?.hits, more&&/||hits, fewer regex-operator hits). Blessed via golden-lock.sh crucible_check.py --update --yes.Cross-repo
rosetta:rebless-owedif keyword-rosetta Groovy counts move; no companion PR. Merge this first, then re-run the rosetta sweep.Gates
Groovy tests 169 passed; ruff check clean on groovy.py; crucible bless done. Not run: audit_check, tri-comparison, tree-sitter audits (left to CI).
Sibling gaps
None needing a burned-estate program.
&&/||in other languages is #8905; Dart?.is #8906.Lessons for agents
None new.
Checklist: none
🤖 Generated with Claude Code