Repository navigation
Commit e6c792c
fix(javascript): keep an import or export a loop runs in a SyntaxTree
With allowImportExportEverywhere, a for or while body can be an import
or export declaration, which stays a node object: _treeNode wrote it
into the tree's fourth slot unconverted, and the body was lost.
Claude-Session: https://claude.ai/code/session_017TkBWTk3wcyUcJYDp5ZhaP1 parent 8569e69 commit e6c792c
2 files changed
Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10421 | 10421 | | |
10422 | 10422 | | |
10423 | 10423 | | |
10424 | | - | |
| 10424 | + | |
10425 | 10425 | | |
10426 | 10426 | | |
10427 | 10427 | | |
10428 | 10428 | | |
10429 | | - | |
10430 | | - | |
| 10429 | + | |
| 10430 | + | |
10431 | 10431 | | |
10432 | 10432 | | |
10433 | 10433 | | |
| |||
10444 | 10444 | | |
10445 | 10445 | | |
10446 | 10446 | | |
10447 | | - | |
| 10447 | + | |
| 10448 | + | |
| 10449 | + | |
10448 | 10450 | | |
10449 | 10451 | | |
10450 | 10452 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5680 | 5680 | | |
5681 | 5681 | | |
5682 | 5682 | | |
| 5683 | + | |
| 5684 | + | |
| 5685 | + | |
| 5686 | + | |
| 5687 | + | |
| 5688 | + | |
| 5689 | + | |
| 5690 | + | |
| 5691 | + | |
| 5692 | + | |
| 5693 | + | |
| 5694 | + | |
| 5695 | + | |
| 5696 | + | |
| 5697 | + | |
| 5698 | + | |
| 5699 | + | |
| 5700 | + | |
| 5701 | + | |
5683 | 5702 | | |
5684 | 5703 | | |
5685 | 5704 | | |
| |||
0 commit comments