@@ -1759,6 +1759,7 @@ public Label visit(MetaProperty nd, Context c) {
1759
1759
public Label visit (ExportAllDeclaration nd , Context c ) {
1760
1760
Label lbl = super .visit (nd , c );
1761
1761
visit (nd .getSource (), lbl , 0 );
1762
+ visit (nd .getAssertion (), lbl , -10 );
1762
1763
return lbl ;
1763
1764
}
1764
1765
@@ -1774,6 +1775,7 @@ public Label visit(ExportNamedDeclaration nd, Context c) {
1774
1775
Label lbl = super .visit (nd , c );
1775
1776
visit (nd .getDeclaration (), lbl , -1 );
1776
1777
visit (nd .getSource (), lbl , -2 );
1778
+ visit (nd .getAssertion (), lbl , -10 );
1777
1779
IdContext childContext =
1778
1780
nd .hasSource ()
1779
1781
? IdContext .LABEL
@@ -1797,6 +1799,7 @@ public Label visit(ExportSpecifier nd, Context c) {
1797
1799
public Label visit (ImportDeclaration nd , Context c ) {
1798
1800
Label lbl = super .visit (nd , c );
1799
1801
visit (nd .getSource (), lbl , -1 );
1802
+ visit (nd .getAssertion (), lbl , -10 );
1800
1803
IdContext childContext =
1801
1804
nd .hasTypeKeyword ()
1802
1805
? IdContext .TYPE_ONLY_IMPORT
@@ -1972,6 +1975,7 @@ public Label visit(ExternalModuleReference nd, Context c) {
1972
1975
public Label visit (DynamicImport nd , Context c ) {
1973
1976
Label key = super .visit (nd , c );
1974
1977
visit (nd .getSource (), key , 0 );
1978
+ visit (nd .getAttributes (), key , 1 );
1975
1979
return key ;
1976
1980
}
1977
1981
0 commit comments