Commit 133a01c
Guard against silent no-op deletion in join_on_conjunctions
PR review flagged that the del-slice replacement for the old
pop()/try-except boundary check silently no-ops on an out-of-range
index instead of raising, unlike the original. That state is
currently unreachable, but add an assertion so a future regression
in the index bookkeeping fails loudly instead of silently corrupting
pieces.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent cb99c1d commit 133a01c
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1306 | 1306 | | |
1307 | 1307 | | |
1308 | 1308 | | |
| 1309 | + | |
| 1310 | + | |
1309 | 1311 | | |
| 1312 | + | |
1310 | 1313 | | |
1311 | 1314 | | |
1312 | 1315 | | |
| |||
0 commit comments