Repository navigation
Commit 25fc1e8
refactor(rewrite): drop the walrus snapshot visit_Compare no longer needs
visit_operand freezes a walrus operand whenever anything follows it, and
a comparison always has at least one comparator -- so by the time
visit_Compare looks at its left operand, a NamedExpr has already been
copied into a temporary. The special case that did it here can never
run.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>1 parent bfc06c7 commit 25fc1e8
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1164 | 1164 | | |
1165 | 1165 | | |
1166 | 1166 | | |
1167 | | - | |
1168 | | - | |
1169 | 1167 | | |
1170 | 1168 | | |
1171 | 1169 | | |
| |||
0 commit comments