Repository navigation
Commit 84f5077
committed
fix(javascript): keep a sloppy function writing a
A loop head writes its target without an assignment, so a function that
creates a global through `for (x of ...)` was still moved into a class,
where the write throws.
Claude-Session: https://claude.ai/code/session_011CuRTB8fAv8PE7di49qDL4for-in or for-of target out of a class1 parent fcdb0ec commit 84f5077
2 files changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17339 | 17339 | | |
17340 | 17340 | | |
17341 | 17341 | | |
17342 | | - | |
17343 | | - | |
17344 | | - | |
17345 | | - | |
17346 | | - | |
17347 | | - | |
| 17342 | + | |
| 17343 | + | |
| 17344 | + | |
| 17345 | + | |
| 17346 | + | |
| 17347 | + | |
| 17348 | + | |
17348 | 17349 | | |
17349 | 17350 | | |
17350 | 17351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6484 | 6484 | | |
6485 | 6485 | | |
6486 | 6486 | | |
6487 | | - | |
| 6487 | + | |
| 6488 | + | |
| 6489 | + | |
| 6490 | + | |
6488 | 6491 | | |
6489 | 6492 | | |
6490 | 6493 | | |
| |||
0 commit comments