parse export & import statements correctly (#5550)

fixes #5548
This commit is contained in:
Alex Lam S.L
2022-07-07 21:04:56 +01:00
committed by GitHub
parent 80787ff7ef
commit b2bc2e1173
5 changed files with 93 additions and 19 deletions

View File

@@ -193,22 +193,6 @@ forbid_merge: {
}
}
merge_tail: {
options = {
conditionals: true,
}
input: {
if (console)
import "foo";
else
import "foo";
}
expect: {
console;
import "foo";
}
}
issue_4708_1: {
options = {
imports: true,