Repository navigation
Nim: regression tests that a handler is not a branch (Part of #8926) - #9066
Conversation
…h comment (Part of #8926) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #9066 @ be2af3d: 1 failed check(s) == rosetta-audit (failure) -- real |
|
No description provided. |
|
PR #9066 @ 37c9d0a: 1 failed check(s) == rosetta-audit (failure) -- real |
|
No description provided. |
|
No description provided. |
1 similar comment
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
Waiting on an owner decision (asked privately, 2026-11-22). Nothing is needed from contributors; work resumes once it is answered. |
|
No description provided. |
Part of #8926 (epic #8863). The rule fix already landed with #8939 (
try/except/finallyare gone from Nimbranch;and/orare inshort_circuit). This PR adds the issue's regression cases and corrects the stale rule comment. No rule regex changed, so goldens do not move.Class
Language
branchrule counting exception handlers against the branch contract corollary 1. Nim is already fixed; same-mechanism siblings in other languages were retired earlier per the issue.Tests
test_nim_strict.py:tryProcbranch == 0;realIfbranch == 1 beside a handler;and/orinshort_circuit, notbranch.Facts checked
nim.pybranchon main has no try/except/finally;test_nim_strict.pypasses (15), ruff audit and format clean.proctype is already covered bytest_proc_types_and_non_definitions_are_not_units.Sibling gaps
##comment inside a body credited as the next routine's doc: oracle-reported, not re-checked on a minimal file. No burned-estate program needs it.Lessons for agents
None.
🤖 Generated with Claude Code