You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: test/language/module-code/source-phase-import/import-source-newlines_FIXTURE.js
+6-1
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,11 @@
3
3
/*---
4
4
description: >
5
5
import source in ImportDeclaration may include line terminators
6
+
This test is verified with `import-source.js` in the same directory that
7
+
this file does not raise SyntaxError. Note that a SyntaxError could also
8
+
be raised when the imported module does not have a source phase
9
+
representation (see sec-source-text-module-record-initialize-environment, 7.c.ii).
10
+
6
11
esid: sec-modules
7
12
info: |
8
13
ImportDeclaration:
@@ -15,7 +20,7 @@ info: |
15
20
Source Text Module Record provides a GetModuleSource implementation that always returns an abrupt completion indicating that a source phase import is not available.
0 commit comments