@@ -2,7 +2,7 @@ commit: 54a8389f
2
2
3
3
semantic_babel Summary :
4
4
AST Parsed : 2218 / 2218 (100.00 % )
5
- Positive Passed : 1889 / 2218 (85.17 % )
5
+ Positive Passed : 1885 / 2218 (84.99 % )
6
6
tasks / coverage / babel / packages / babel - parser / test / fixtures / annex - b / enabled / 3.3 - function -in-if-body/input.js
7
7
semantic error: Symbol scope ID mismatch for "f":
8
8
after transform: SymbolId(0): ScopeId (4294967294 )
@@ -26,12 +26,42 @@ semantic error: A 'return' statement can only be used within a function body.
26
26
tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/328/input.js
27
27
semantic error: A 'return' statement can only be used within a function body.
28
28
29
+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-private-methods/async/input.js
30
+ semantic error: Scope flags mismatch:
31
+ after transform: ScopeId(2): ScopeFlags (StrictMode | Function )
32
+ rebuilt : ScopeId(4): ScopeFlags (Function )
33
+
34
+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-private-methods/async-generator/input.js
35
+ semantic error: Scope flags mismatch:
36
+ after transform: ScopeId(2): ScopeFlags (StrictMode | Function )
37
+ rebuilt : ScopeId(4): ScopeFlags (Function )
38
+ Scope flags mismatch:
39
+ after transform: ScopeId(3): ScopeFlags (StrictMode )
40
+ rebuilt : ScopeId(5): ScopeFlags (0x0 )
41
+ Scope flags mismatch:
42
+ after transform: ScopeId(4): ScopeFlags (StrictMode )
43
+ rebuilt : ScopeId(6): ScopeFlags (0x0 )
44
+ Scope flags mismatch:
45
+ after transform: ScopeId(5): ScopeFlags (StrictMode )
46
+ rebuilt : ScopeId(7): ScopeFlags (0x0 )
47
+
29
48
tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-private-properties/await-in-private-property-in-params-of-async-arrow/input.js
30
49
semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none
31
50
32
51
tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-properties/arguments-in-key/input.js
33
52
semantic error: 'arguments' is not allowed in class field initializer
34
53
54
+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-properties/await-identifier-in-computed-property-inside-params-of-function -inside-params-of-async-function /input.js
55
+ semantic error: Bindings mismatch:
56
+ after transform: ScopeId(0): [" _asyncToGenerator" , " _defineProperty" ]
57
+ rebuilt : ScopeId(0): [" _asyncToGenerator" , " _await" , " _defineProperty" ]
58
+ Bindings mismatch:
59
+ after transform: ScopeId(2): [" _await" , " f" , " x" ]
60
+ rebuilt : ScopeId(2): [" f" , " x" ]
61
+ Symbol scope ID mismatch for "_await":
62
+ after transform: SymbolId(3): ScopeId (2 )
63
+ rebuilt : SymbolId(2): ScopeId (0 )
64
+
35
65
tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-properties/await-in-property-in-params-of-async-arrow/input.js
36
66
semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none
37
67
@@ -80,8 +110,8 @@ rebuilt : ScopeId(1): []
80
110
81
111
tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/class-private-property/typescript/input.js
82
112
semantic error: Unresolved references mismatch:
83
- after transform: ["Array", "foo"]
84
- rebuilt : ["foo"]
113
+ after transform: ["Array", "WeakMap", " foo", "require "]
114
+ rebuilt : ["WeakMap", " foo", "require "]
85
115
86
116
tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/enum/input.js
87
117
semantic error: Bindings mismatch:
@@ -119,16 +149,16 @@ rebuilt : []
119
149
120
150
tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/loc-index-property/input.js
121
151
semantic error: Bindings mismatch:
122
- after transform: ScopeId(0): [" AssertsFoo" , " Foo" ]
123
- rebuilt : ScopeId(0): [" AssertsFoo" ]
152
+ after transform: ScopeId(0): [" AssertsFoo" , " Foo" , " _defineProperty " ]
153
+ rebuilt : ScopeId(0): [" AssertsFoo" , " _defineProperty " ]
124
154
Scope children mismatch:
125
155
after transform: ScopeId(0): [ScopeId (1 ), ScopeId (2 )]
126
156
rebuilt : ScopeId(0): [ScopeId (1 )]
127
157
128
158
tasks/coverage/babel/packages/babel-parser/test/fixtures/estree/typescript/loc-index-property-babel-7/input.js
129
159
semantic error: Bindings mismatch:
130
- after transform: ScopeId(0): [" AssertsFoo" , " Foo" ]
131
- rebuilt : ScopeId(0): [" AssertsFoo" ]
160
+ after transform: ScopeId(0): [" AssertsFoo" , " Foo" , " _defineProperty " ]
161
+ rebuilt : ScopeId(0): [" AssertsFoo" , " _defineProperty " ]
132
162
Scope children mismatch:
133
163
after transform: ScopeId(0): [ScopeId (1 ), ScopeId (2 )]
134
164
rebuilt : ScopeId(0): [ScopeId (1 )]
@@ -188,7 +218,7 @@ rebuilt : []
188
218
tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/assert-predicate/asserts-this-with-predicate/input.ts
189
219
semantic error: Symbol reference IDs mismatch for "Foo":
190
220
after transform: SymbolId(0): [ReferenceId (0 ), ReferenceId (1 )]
191
- rebuilt : SymbolId(0 ): []
221
+ rebuilt : SymbolId(1 ): []
192
222
193
223
tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/assert-predicate/asserts-var/input.ts
194
224
semantic error: Scope children mismatch:
@@ -207,19 +237,19 @@ rebuilt : []
207
237
208
238
tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/assign/TSTypeParameterInstantiation/input.ts
209
239
semantic error: Symbol reference IDs mismatch for "AbstractClass":
210
- after transform: SymbolId(0): [ReferenceId (0 ), ReferenceId (1 ), ReferenceId (3 )]
211
- rebuilt : SymbolId(0 ): [ReferenceId (0 )]
240
+ after transform: SymbolId(0): [ReferenceId (0 ), ReferenceId (1 ), ReferenceId (3 ), ReferenceId ( 9 ) ]
241
+ rebuilt : SymbolId(1 ): [ReferenceId (1 ), ReferenceId ( 2 )]
212
242
Symbol reference IDs mismatch for "ConcreteClass":
213
243
after transform: SymbolId(2): [ReferenceId (4 ), ReferenceId (6 )]
214
- rebuilt : SymbolId(1 ): [ReferenceId (1 )]
244
+ rebuilt : SymbolId(2 ): [ReferenceId (3 )]
215
245
216
246
tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/assign/TSTypeParameterInstantiation-babel-7/input.ts
217
247
semantic error: Symbol reference IDs mismatch for "AbstractClass":
218
- after transform: SymbolId(0): [ReferenceId (0 ), ReferenceId (1 ), ReferenceId (3 )]
219
- rebuilt : SymbolId(0 ): [ReferenceId (0 )]
248
+ after transform: SymbolId(0): [ReferenceId (0 ), ReferenceId (1 ), ReferenceId (3 ), ReferenceId ( 9 ) ]
249
+ rebuilt : SymbolId(1 ): [ReferenceId (1 ), ReferenceId ( 2 )]
220
250
Symbol reference IDs mismatch for "ConcreteClass":
221
251
after transform: SymbolId(2): [ReferenceId (4 ), ReferenceId (6 )]
222
- rebuilt : SymbolId(1 ): [ReferenceId (1 )]
252
+ rebuilt : SymbolId(2 ): [ReferenceId (3 )]
223
253
224
254
tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/cast/as/input.ts
225
255
semantic error: Unresolved references mismatch:
@@ -266,8 +296,8 @@ rebuilt : ScopeId(5): []
266
296
267
297
tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/async-named-properties/input.ts
268
298
semantic error: Scope children mismatch:
269
- after transform: ScopeId(1): [ScopeId (2 )]
270
- rebuilt : ScopeId(1): []
299
+ after transform: ScopeId(1): [ScopeId (2 ), ScopeId ( 3 ) ]
300
+ rebuilt : ScopeId(1): [ScopeId ( 2 ) ]
271
301
272
302
tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/async-optional-method/input.js
273
303
semantic error: Scope children mismatch:
@@ -400,8 +430,11 @@ semantic error: A required parameter cannot follow an optional parameter.
400
430
401
431
tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/private-method-overload/input.ts
402
432
semantic error: Scope children mismatch:
403
- after transform: ScopeId(1): [ScopeId (2 ), ScopeId (3 ), ScopeId (4 )]
433
+ after transform: ScopeId(1): [ScopeId (2 ), ScopeId (3 ), ScopeId (5 )]
404
434
rebuilt : ScopeId(1): [ScopeId (2 )]
435
+ Symbol flags mismatch for "_f":
436
+ after transform: SymbolId(4): SymbolFlags (FunctionScopedVariable )
437
+ rebuilt : SymbolId(3): SymbolFlags (BlockScopedVariable | Function )
405
438
406
439
tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/properties/input.ts
407
440
semantic error: Identifier `x` has already been declared
@@ -413,6 +446,11 @@ Identifier `x` has already been declared
413
446
tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/static/input.ts
414
447
semantic error: Function implementation is missing or not immediately following the declaration.
415
448
449
+ tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/class/static-asi/input.ts
450
+ semantic error: Symbol flags mismatch for "_method":
451
+ after transform: SymbolId(2): SymbolFlags (FunctionScopedVariable )
452
+ rebuilt : SymbolId(3): SymbolFlags (BlockScopedVariable | Function )
453
+
416
454
tasks/coverage/babel/packages/babel-parser/test/fixtures/typescript/const/initializer-ambient-context/input.ts
417
455
semantic error: Bindings mismatch:
418
456
after transform: ScopeId(0): [" N" ]
@@ -1876,7 +1914,7 @@ rebuilt : ["f"]
1876
1914
tasks /coverage /babel /packages /babel -parser /test /fixtures /typescript /type -arguments /instantiation -expression -asi /input .ts
1877
1915
semantic error : Scope children mismatch :
1878
1916
after transform : ScopeId (0 ): [ScopeId (1 ), ScopeId (2 ), ScopeId (3 ), ScopeId (4 ), ScopeId (5 ), ScopeId (6 ), ScopeId (7 )]
1879
- rebuilt : ScopeId (0 ): [ScopeId (1 ), ScopeId (2 ), ScopeId (3 ), ScopeId (4 ), ScopeId (5 ), ScopeId (6 )]
1917
+ rebuilt : ScopeId (0 ): [ScopeId (1 ), ScopeId (2 ), ScopeId (3 ), ScopeId (4 ), ScopeId (6 ), ScopeId (8 )]
1880
1918
Unresolved references mismatch :
1881
1919
after transform : [" f" , " true" ]
1882
1920
rebuilt : [" f" ]
0 commit comments