Repository navigation
Commit 122e921
committed
fix(minifier): keep a dead-zone read among extra constructor arguments
An extra argument is dropped only where `dropSideEffectFree` leaves nothing,
so `new F(1, x)` before `let x` still throws. A `let` read as nullish once
its initializer is dropped must also be one nothing writes.
Claude-Session: https://claude.ai/code/session_01ViD41i2KdwwGxrDk7yrjeD1 parent eaf22c6 commit 122e921
2 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24904 | 24904 | | |
24905 | 24905 | | |
24906 | 24906 | | |
24907 | | - | |
| 24907 | + | |
| 24908 | + | |
24908 | 24909 | | |
24909 | 24910 | | |
24910 | | - | |
| 24911 | + | |
| 24912 | + | |
24911 | 24913 | | |
24912 | 24914 | | |
24913 | 24915 | | |
| |||
43535 | 43537 | | |
43536 | 43538 | | |
43537 | 43539 | | |
43538 | | - | |
| 43540 | + | |
| 43541 | + | |
| 43542 | + | |
43539 | 43543 | | |
43540 | 43544 | | |
43541 | 43545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8776 | 8776 | | |
8777 | 8777 | | |
8778 | 8778 | | |
| 8779 | + | |
| 8780 | + | |
| 8781 | + | |
| 8782 | + | |
| 8783 | + | |
| 8784 | + | |
| 8785 | + | |
| 8786 | + | |
| 8787 | + | |
| 8788 | + | |
| 8789 | + | |
8779 | 8790 | | |
8780 | 8791 | | |
8781 | 8792 | | |
| |||
0 commit comments