Repository navigation
Commit 9b4b2e4
committed
fix(javascript): keep a conditional whose test reads a global twice
A global may be a getter answering each read differently, so
`x ? y : x` stays as it is when `x` is one; restore the corpora entries
that relied on it.
Claude-Session: https://claude.ai/code/session_01ViD41i2KdwwGxrDk7yrjeD1 parent cf23f8f commit 9b4b2e4
3 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16942 | 16942 | | |
16943 | 16943 | | |
16944 | 16944 | | |
16945 | | - | |
| 16945 | + | |
| 16946 | + | |
| 16947 | + | |
16946 | 16948 | | |
16947 | 16949 | | |
16948 | 16950 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
1283 | 1285 | | |
1284 | 1286 | | |
1285 | 1287 | | |
| 1288 | + | |
1286 | 1289 | | |
1287 | 1290 | | |
1288 | 1291 | | |
1289 | 1292 | | |
1290 | 1293 | | |
1291 | 1294 | | |
| 1295 | + | |
1292 | 1296 | | |
1293 | 1297 | | |
1294 | 1298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
| 580 | + | |
580 | 581 | | |
581 | 582 | | |
582 | 583 | | |
| |||
0 commit comments