@@ -3,7 +3,8 @@ test_BulkReExportDeclarations
3
3
test_ExportDeclarations
4
4
| a.js:1:1:3:1 | export ... n 23;\\n} |
5
5
| a.js:5:1:5:32 | export ... } = o; |
6
- | arbitarySpecifier.js:5:1:5:32 | export ... :new" } |
6
+ | arbitrarySpecifier.ts:5:1:5:32 | export ... :new" } |
7
+ | arbitrarySpecifier.ts:6:1:6:41 | export ... './mod' |
7
8
| b.js:5:1:5:18 | export { f as g }; |
8
9
| b.js:7:1:7:21 | export ... './a'; |
9
10
| d.js:4:1:4:20 | export * from 'm/c'; |
@@ -12,18 +13,20 @@ test_ExportDeclarations
12
13
| es2015_require.js:3:1:3:25 | export ... ss C {} |
13
14
| export-in-mjs.mjs:1:1:1:34 | export ... s = 42; |
14
15
| f.ts:5:1:5:24 | export ... oo() {} |
16
+ | jsArbitrarySpecifier.js:5:1:5:32 | export ... :new" } |
15
17
| m/c.js:5:1:5:30 | export ... '../b'; |
16
18
| reExportNamespace.js:1:1:1:26 | export ... "./a"; |
17
19
| tst.html:7:3:7:22 | export const y = 42; |
18
20
test_ExportDefaultDeclarations
19
21
| a.js:1:1:3:1 | export ... n 23;\\n} |
20
22
| es2015_require.js:3:1:3:25 | export ... ss C {} |
21
23
test_ExportSpecifiers
22
- | arbitarySpecifier.js :5:10:5:30 | Foo_new ... o::new" | arbitarySpecifier.js :5:10:5:16 | Foo_new | arbitarySpecifier.js :5:10 :5:30 | Foo_new ... o ::new" |
24
+ | arbitrarySpecifier.ts :5:10:5:30 | Foo_new ... o::new" | arbitrarySpecifier.ts :5:10:5:16 | Foo_new | arbitrarySpecifier.ts :5:21 :5:30 | "Foo ::new" |
23
25
| b.js:5:10:5:15 | f as g | b.js:5:10:5:10 | f | b.js:5:15:5:15 | g |
24
26
| e.js:2:10:2:10 | x | e.js:2:10:2:10 | x | e.js:2:10:2:10 | x |
25
27
| e.js:2:13:2:13 | y | e.js:2:13:2:13 | y | e.js:2:13:2:13 | y |
26
28
| e.js:3:10:3:21 | default as g | e.js:3:10:3:16 | default | e.js:3:21:3:21 | g |
29
+ | jsArbitrarySpecifier.js:5:10:5:30 | Foo_new ... o::new" | jsArbitrarySpecifier.js:5:10:5:16 | Foo_new | jsArbitrarySpecifier.js:5:10:5:30 | Foo_new ... o::new" |
27
30
| m/c.js:5:10:5:15 | g as h | m/c.js:5:10:5:10 | g | m/c.js:5:15:5:15 | h |
28
31
test_GlobalVariableRef
29
32
| a.js:5:31:5:31 | o |
@@ -43,7 +46,7 @@ test_ImportNamespaceSpecifier
43
46
| exports.js:1:8:1:17 | * as dummy |
44
47
| m/c.js:1:8:1:13 | * as b |
45
48
test_ImportSpecifiers
46
- | arbitarySpecifier.js :1:10:1:30 | "Foo::n ... Foo_new | arbitarySpecifier.js :1:24:1:30 | Foo_new |
49
+ | arbitrarySpecifier.ts :1:10:1:30 | "Foo::n ... Foo_new | arbitrarySpecifier.ts :1:24:1:30 | Foo_new |
47
50
| b.js:1:8:1:8 | f | b.js:1:8:1:8 | f |
48
51
| d.js:1:10:1:21 | default as g | d.js:1:21:1:21 | g |
49
52
| d.js:1:24:1:29 | x as y | d.js:1:29:1:29 | y |
@@ -53,12 +56,13 @@ test_ImportSpecifiers
53
56
| import-in-mjs.mjs:1:8:1:24 | exported_from_mjs | import-in-mjs.mjs:1:8:1:24 | exported_from_mjs |
54
57
| import-ts-with-js-extension.ts:1:10:1:12 | foo | import-ts-with-js-extension.ts:1:10:1:12 | foo |
55
58
| importcss.js:1:8:1:8 | A | importcss.js:1:8:1:8 | A |
59
+ | jsArbitrarySpecifier.js:1:10:1:30 | "Foo::n ... Foo_new | jsArbitrarySpecifier.js:1:24:1:30 | Foo_new |
56
60
| m/c.js:1:8:1:13 | * as b | m/c.js:1:13:1:13 | b |
57
61
| reExportNamespaceClient.js:1:10:1:11 | ns | reExportNamespaceClient.js:1:10:1:11 | ns |
58
62
| tst.html:5:10:5:10 | f | tst.html:5:10:5:10 | f |
59
63
| unresolved.js:1:8:1:8 | f | unresolved.js:1:8:1:8 | f |
60
64
test_Imports
61
- | arbitarySpecifier.js :1:1:1:50 | import ... o.wasm" | arbitarySpecifier.js :1:39:1:50 | "./foo.wasm" | 1 |
65
+ | arbitrarySpecifier.ts :1:1:1:50 | import ... o.wasm" | arbitrarySpecifier.ts :1:39:1:50 | "./foo.wasm" | 1 |
62
66
| b.js:1:1:1:20 | import f from './a'; | b.js:1:15:1:19 | './a' | 1 |
63
67
| d.js:1:1:1:43 | import ... './a'; | d.js:1:38:1:42 | './a' | 2 |
64
68
| d.js:2:1:2:13 | import './b'; | d.js:2:8:2:12 | './b' | 0 |
@@ -68,6 +72,7 @@ test_Imports
68
72
| import-in-mjs.mjs:1:1:1:46 | import ... n-mjs'; | import-in-mjs.mjs:1:31:1:45 | 'export-in-mjs' | 1 |
69
73
| import-ts-with-js-extension.ts:1:1:1:29 | import ... /f.js"; | import-ts-with-js-extension.ts:1:21:1:28 | "./f.js" | 1 |
70
74
| importcss.js:1:1:1:24 | import ... a.css"; | importcss.js:1:15:1:23 | "./a.css" | 1 |
75
+ | jsArbitrarySpecifier.js:1:1:1:50 | import ... o.wasm" | jsArbitrarySpecifier.js:1:39:1:50 | "./foo.wasm" | 1 |
71
76
| m/c.js:1:1:1:26 | import ... '../b'; | m/c.js:1:20:1:25 | '../b' | 1 |
72
77
| reExportNamespaceClient.js:1:1:1:41 | import ... space"; | reExportNamespaceClient.js:1:20:1:40 | "./reEx ... espace" | 1 |
73
78
| tst.html:5:3:5:20 | import f from 'a'; | tst.html:5:17:5:19 | 'a' | 1 |
@@ -76,7 +81,8 @@ test_Module_exports
76
81
| a.js:1:1:5:32 | <toplevel> | default | a.js:1:16:3:1 | functio ... n 23;\\n} |
77
82
| a.js:1:1:5:32 | <toplevel> | x | a.js:5:18:5:20 | f() |
78
83
| a.js:1:1:5:32 | <toplevel> | y | a.js:5:25:5:25 | y |
79
- | arbitarySpecifier.js:1:1:5:32 | <toplevel> | Foo::new | arbitarySpecifier.js:5:10:5:16 | Foo_new |
84
+ | arbitrarySpecifier.ts:1:1:6:41 | <toplevel> | Foo::new | arbitrarySpecifier.ts:5:10:5:16 | Foo_new |
85
+ | arbitrarySpecifier.ts:1:1:6:41 | <toplevel> | Foo_types | arbitrarySpecifier.ts:6:13:6:28 | * as "Foo_types" |
80
86
| b.js:1:1:8:0 | <toplevel> | f2 | a.js:1:16:3:1 | functio ... n 23;\\n} |
81
87
| b.js:1:1:8:0 | <toplevel> | g | b.js:5:10:5:10 | f |
82
88
| e.js:1:1:4:0 | <toplevel> | g | a.js:1:16:3:1 | functio ... n 23;\\n} |
@@ -85,21 +91,24 @@ test_Module_exports
85
91
| es2015_require.js:1:1:3:25 | <toplevel> | default | es2015_require.js:3:16:3:25 | class C {} |
86
92
| export-in-mjs.mjs:1:1:1:34 | <toplevel> | exported_from_mjs | export-in-mjs.mjs:1:32:1:33 | 42 |
87
93
| f.ts:1:1:6:0 | <toplevel> | foo | f.ts:5:8:5:24 | function foo() {} |
94
+ | jsArbitrarySpecifier.js:1:1:5:32 | <toplevel> | Foo::new | jsArbitrarySpecifier.js:5:10:5:16 | Foo_new |
88
95
| m/c.js:1:1:6:0 | <toplevel> | h | b.js:5:10:5:10 | f |
89
96
| reExportNamespace.js:1:1:2:0 | <toplevel> | ns | reExportNamespace.js:1:8:1:14 | * as ns |
90
97
| tst.html:4:23:8:0 | <toplevel> | y | tst.html:7:20:7:21 | 42 |
91
98
test_NamedImportSpecifier
92
- | arbitarySpecifier.js :1:10:1:30 | "Foo::n ... Foo_new |
99
+ | arbitrarySpecifier.ts :1:10:1:30 | "Foo::n ... Foo_new |
93
100
| d.js:1:10:1:21 | default as g |
94
101
| d.js:1:24:1:29 | x as y |
95
102
| g.ts:1:9:1:11 | foo |
96
103
| import-ts-with-js-extension.ts:1:10:1:12 | foo |
104
+ | jsArbitrarySpecifier.js:1:10:1:30 | "Foo::n ... Foo_new |
97
105
| reExportNamespaceClient.js:1:10:1:11 | ns |
98
106
test_OtherImports
99
107
| es2015_require.js:1:11:1:24 | require('./d') | d.js:1:1:5:0 | <toplevel> |
100
108
| import-indirect-path.js:1:1:1:25 | require ... + '/a') | a.js:1:1:5:32 | <toplevel> |
101
109
| import-indirect-path.js:5:1:5:14 | require(x + y) | a.js:1:1:5:32 | <toplevel> |
102
110
test_ReExportDeclarations
111
+ | arbitrarySpecifier.ts:6:1:6:41 | export ... './mod' | arbitrarySpecifier.ts:6:35:6:41 | './mod' |
103
112
| b.js:7:1:7:21 | export ... './a'; | b.js:7:16:7:20 | './a' |
104
113
| d.js:4:1:4:20 | export * from 'm/c'; | d.js:4:15:4:19 | 'm/c' |
105
114
| e.js:3:1:3:35 | export ... './a'; | e.js:3:30:3:34 | './a' |
@@ -117,16 +126,18 @@ test_getAnImportedModule
117
126
| library-tests/Modules/m/c.js | library-tests/Modules/b.js |
118
127
| library-tests/Modules/reExportNamespaceClient.js | library-tests/Modules/reExportNamespace.js |
119
128
test_getExportedName
120
- | arbitarySpecifier.js:5:10:5:30 | Foo_new ... o::new" | Foo::new |
129
+ | arbitrarySpecifier.ts:5:10:5:30 | Foo_new ... o::new" | Foo::new |
130
+ | arbitrarySpecifier.ts:6:13:6:28 | * as "Foo_types" | Foo_types |
121
131
| b.js:5:10:5:15 | f as g | g |
122
132
| b.js:7:8:7:9 | f2 | f2 |
123
133
| e.js:2:10:2:10 | x | x |
124
134
| e.js:2:13:2:13 | y | y |
125
135
| e.js:3:10:3:21 | default as g | g |
136
+ | jsArbitrarySpecifier.js:5:10:5:30 | Foo_new ... o::new" | Foo::new |
126
137
| m/c.js:5:10:5:15 | g as h | h |
127
138
| reExportNamespace.js:1:8:1:14 | * as ns | ns |
128
139
test_getImportedName
129
- | arbitarySpecifier.js :1:10:1:30 | "Foo::n ... Foo_new | Foo::new |
140
+ | arbitrarySpecifier.ts :1:10:1:30 | "Foo::n ... Foo_new | Foo::new |
130
141
| b.js:1:8:1:8 | f | default |
131
142
| d.js:1:10:1:21 | default as g | default |
132
143
| d.js:1:24:1:29 | x as y | x |
@@ -135,22 +146,25 @@ test_getImportedName
135
146
| import-in-mjs.mjs:1:8:1:24 | exported_from_mjs | default |
136
147
| import-ts-with-js-extension.ts:1:10:1:12 | foo | foo |
137
148
| importcss.js:1:8:1:8 | A | default |
149
+ | jsArbitrarySpecifier.js:1:10:1:30 | "Foo::n ... Foo_new | Foo::new |
138
150
| reExportNamespaceClient.js:1:10:1:11 | ns | ns |
139
151
| tst.html:5:10:5:10 | f | default |
140
152
| unresolved.js:1:8:1:8 | f | default |
141
153
test_getLocalName
142
- | arbitarySpecifier.js :5:10:5:30 | Foo_new ... o::new" | Foo_new |
154
+ | arbitrarySpecifier.ts :5:10:5:30 | Foo_new ... o::new" | Foo_new |
143
155
| b.js:5:10:5:15 | f as g | f |
144
156
| b.js:7:8:7:9 | f2 | default |
145
157
| e.js:2:10:2:10 | x | x |
146
158
| e.js:2:13:2:13 | y | y |
147
159
| e.js:3:10:3:21 | default as g | default |
160
+ | jsArbitrarySpecifier.js:5:10:5:30 | Foo_new ... o::new" | Foo_new |
148
161
| m/c.js:5:10:5:15 | g as h | g |
149
162
test_getSourceNode
150
163
| a.js:1:1:3:1 | export ... n 23;\\n} | default | a.js:1:16:3:1 | functio ... n 23;\\n} |
151
164
| a.js:5:1:5:32 | export ... } = o; | x | a.js:5:18:5:20 | f() |
152
165
| a.js:5:1:5:32 | export ... } = o; | y | a.js:5:25:5:25 | y |
153
- | arbitarySpecifier.js:5:1:5:32 | export ... :new" } | Foo::new | arbitarySpecifier.js:5:10:5:16 | Foo_new |
166
+ | arbitrarySpecifier.ts:5:1:5:32 | export ... :new" } | Foo::new | arbitrarySpecifier.ts:5:10:5:16 | Foo_new |
167
+ | arbitrarySpecifier.ts:6:1:6:41 | export ... './mod' | Foo_types | arbitrarySpecifier.ts:6:13:6:28 | * as "Foo_types" |
154
168
| b.js:5:1:5:18 | export { f as g }; | g | b.js:5:10:5:10 | f |
155
169
| b.js:7:1:7:21 | export ... './a'; | f2 | a.js:1:16:3:1 | functio ... n 23;\\n} |
156
170
| e.js:2:1:2:16 | export { x, y }; | x | e.js:2:10:2:10 | x |
@@ -159,6 +173,7 @@ test_getSourceNode
159
173
| es2015_require.js:3:1:3:25 | export ... ss C {} | default | es2015_require.js:3:16:3:25 | class C {} |
160
174
| export-in-mjs.mjs:1:1:1:34 | export ... s = 42; | exported_from_mjs | export-in-mjs.mjs:1:32:1:33 | 42 |
161
175
| f.ts:5:1:5:24 | export ... oo() {} | foo | f.ts:5:8:5:24 | function foo() {} |
176
+ | jsArbitrarySpecifier.js:5:1:5:32 | export ... :new" } | Foo::new | jsArbitrarySpecifier.js:5:10:5:16 | Foo_new |
162
177
| m/c.js:5:1:5:30 | export ... '../b'; | h | b.js:5:10:5:10 | f |
163
178
| reExportNamespace.js:1:1:1:26 | export ... "./a"; | ns | reExportNamespace.js:1:8:1:14 | * as ns |
164
179
| tst.html:7:3:7:22 | export const y = 42; | y | tst.html:7:20:7:21 | 42 |
0 commit comments