Repository navigation
Commit 26946e2
committed
fix(javascript): keep what a commented moved function reads when its call goes
A function moved to its one call stays where it is when a comment is on
it, so a dead call no longer discounts its body's reads: `var a` read
only by `/*! keep */ function f(){return a}` stays declared. The
changeset sentence is shortened to 80 characters.
Claude-Session: https://claude.ai/code/session_01Tgxgyb4N35ndP6cC4KcrXC1 parent 359232e commit 26946e2
3 files changed
Lines changed: 10 additions & 3 deletions
File tree
- .changeset
- lib/javascript
- test/unitCases/javascript
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11571 | 11571 | | |
11572 | 11572 | | |
11573 | 11573 | | |
11574 | | - | |
| 11574 | + | |
| 11575 | + | |
11575 | 11576 | | |
11576 | | - | |
| 11577 | + | |
| 11578 | + | |
11577 | 11579 | | |
11578 | 11580 | | |
11579 | 11581 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1419 | 1419 | | |
1420 | 1420 | | |
1421 | 1421 | | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
1422 | 1427 | | |
1423 | 1428 | | |
1424 | 1429 | | |
| |||
0 commit comments