forked from babel/babel
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid
popContext
on unvisited node paths (babel#16305)
- Loading branch information
1 parent
8c3b483
commit 9c214e7
Showing
4 changed files
with
55 additions
and
4 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
...bel-plugin-proposal-do-expressions/test/fixtures/do-expressions/regression-16293/input.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
async () => do { | ||
await 0 | ||
while (0) {} | ||
0 | ||
} |
5 changes: 5 additions & 0 deletions
5
...el-plugin-proposal-do-expressions/test/fixtures/do-expressions/regression-16293/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
async () => await async function () { | ||
await 0; | ||
while (0) {} | ||
return 0; | ||
}(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters