@@ -2,7 +2,7 @@ commit: 54a8389f
22
33semantic_babel Summary :
44AST Parsed : 2218 / 2218 (100.00 % )
5- Positive Passed : 1846 / 2218 (83.23 % )
5+ Positive Passed : 1825 / 2218 (82.28 % )
66tasks / coverage / babel / packages / babel - parser / test / fixtures / annex - b / enabled / 3.3 - function -in-if-body/input.js
77semantic error: Symbol scope ID mismatch for "f":
88after transform: SymbolId(0): ScopeId (4294967294 )
@@ -11,6 +11,11 @@ Symbol scope ID mismatch for "g":
1111after transform: SymbolId(1): ScopeId (4294967294 )
1212rebuilt : SymbolId(1): ScopeId (4294967294 )
1313
14+ tasks/coverage/babel/packages/babel-parser/test/fixtures/comments/basic/async-function /input.js
15+ semantic error: Symbol flags mismatch for "_f":
16+ after transform: SymbolId(1): SymbolFlags (FunctionScopedVariable )
17+ rebuilt : SymbolId(2): SymbolFlags (Function )
18+
1419tasks/coverage/babel/packages/babel-parser/test/fixtures/core/opts/allowNewTargetOutsideFunction-true/input.js
1520semantic error: Unexpected new.target expression
1621Unexpected new.target expression
@@ -29,20 +34,125 @@ semantic error: A 'return' statement can only be used within a function body.
2934tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/385/input.js
3035semantic error: Symbol flags mismatch for "_foo":
3136after transform: SymbolId(1): SymbolFlags (FunctionScopedVariable )
32- rebuilt : SymbolId(2): SymbolFlags (BlockScopedVariable | Function )
37+ rebuilt : SymbolId(2): SymbolFlags (Function )
38+
39+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2016/simple-parameter-list/async-arrow-function -concise-body/input.js
40+ semantic error: Symbol flags mismatch for "a":
41+ after transform: SymbolId(3): SymbolFlags (FunctionScopedVariable )
42+ rebuilt : SymbolId(4): SymbolFlags (Function )
43+
44+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/12/input.js
45+ semantic error: Symbol flags mismatch for "_foo":
46+ after transform: SymbolId(3): SymbolFlags (FunctionScopedVariable )
47+ rebuilt : SymbolId(3): SymbolFlags (Function )
48+
49+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/13/input.js
50+ semantic error: Symbol flags mismatch for "_inner":
51+ after transform: SymbolId(2): SymbolFlags (FunctionScopedVariable )
52+ rebuilt : SymbolId(3): SymbolFlags (Function )
53+
54+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/14/input.js
55+ semantic error: Symbol flags mismatch for "foo":
56+ after transform: SymbolId(4): SymbolFlags (FunctionScopedVariable )
57+ rebuilt : SymbolId(4): SymbolFlags (Function )
3358
3459tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/25/input.js
3560semantic error: Symbol flags mismatch for "_foo":
3661after transform: SymbolId(1): SymbolFlags (FunctionScopedVariable )
37- rebuilt : SymbolId(2): SymbolFlags (BlockScopedVariable | Function )
62+ rebuilt : SymbolId(2): SymbolFlags (Function )
63+
64+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/31/input.js
65+ semantic error: Symbol flags mismatch for "foo":
66+ after transform: SymbolId(4): SymbolFlags (FunctionScopedVariable )
67+ rebuilt : SymbolId(4): SymbolFlags (Function )
68+
69+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/32/input.js
70+ semantic error: Symbol flags mismatch for "foo":
71+ after transform: SymbolId(4): SymbolFlags (FunctionScopedVariable )
72+ rebuilt : SymbolId(4): SymbolFlags (Function )
73+
74+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/33/input.js
75+ semantic error: Symbol flags mismatch for "foo":
76+ after transform: SymbolId(4): SymbolFlags (FunctionScopedVariable )
77+ rebuilt : SymbolId(4): SymbolFlags (Function )
78+
79+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/34/input.js
80+ semantic error: Symbol flags mismatch for "foo":
81+ after transform: SymbolId(4): SymbolFlags (FunctionScopedVariable )
82+ rebuilt : SymbolId(4): SymbolFlags (Function )
83+
84+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-async-function -declaration-name/input.js
85+ semantic error: Symbol flags mismatch for "_await":
86+ after transform: SymbolId(1): SymbolFlags (FunctionScopedVariable )
87+ rebuilt : SymbolId(2): SymbolFlags (Function )
88+
89+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-function -expression-name-inside-async-function /input.js
90+ semantic error: Symbol flags mismatch for "_fn":
91+ after transform: SymbolId(2): SymbolFlags (FunctionScopedVariable )
92+ rebuilt : SymbolId(2): SymbolFlags (Function )
93+
94+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-identifier-inside-parameters-of-nested-function /input.js
95+ semantic error: Symbol flags mismatch for "_fn":
96+ after transform: SymbolId(3): SymbolFlags (FunctionScopedVariable )
97+ rebuilt : SymbolId(2): SymbolFlags (Function )
98+
99+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-arguments-of-async-function -call/input.js
100+ semantic error: Symbol flags mismatch for "_fn":
101+ after transform: SymbolId(1): SymbolFlags (FunctionScopedVariable )
102+ rebuilt : SymbolId(2): SymbolFlags (Function )
103+
104+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-async-call-inside-parameters-of-function -inside-async-function /input.js
105+ semantic error: Symbol flags mismatch for "_f":
106+ after transform: SymbolId(3): SymbolFlags (FunctionScopedVariable )
107+ rebuilt : SymbolId(2): SymbolFlags (Function )
108+
109+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parenthesized-assign/input.js
110+ semantic error: Symbol flags mismatch for "_fn":
111+ after transform: SymbolId(1): SymbolFlags (FunctionScopedVariable )
112+ rebuilt : SymbolId(2): SymbolFlags (Function )
113+
114+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/context-division-after-expression/input.js
115+ semantic error: Symbol flags mismatch for "fn":
116+ after transform: SymbolId(0): SymbolFlags (FunctionScopedVariable )
117+ rebuilt : SymbolId(2): SymbolFlags (Function )
118+
119+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/context-regex-after-statement/input.js
120+ semantic error: Symbol flags mismatch for "_fn":
121+ after transform: SymbolId(1): SymbolFlags (FunctionScopedVariable )
122+ rebuilt : SymbolId(2): SymbolFlags (Function )
38123
39124tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/export/input.js
40125semantic error: Symbol flags mismatch for "_foo":
41126after transform: SymbolId(2): SymbolFlags (FunctionScopedVariable )
42- rebuilt : SymbolId(2): SymbolFlags (BlockScopedVariable | Function )
127+ rebuilt : SymbolId(2): SymbolFlags (Function )
43128Symbol flags mismatch for "_bar":
44129after transform: SymbolId(4): SymbolFlags (FunctionScopedVariable )
45- rebuilt : SymbolId(4): SymbolFlags (BlockScopedVariable | Function )
130+ rebuilt : SymbolId(4): SymbolFlags (Function )
131+
132+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/object-default-params/input.js
133+ semantic error: Symbol flags mismatch for "b":
134+ after transform: SymbolId(4): SymbolFlags (FunctionScopedVariable )
135+ rebuilt : SymbolId(4): SymbolFlags (Function )
136+
137+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/valid-await-expr-using-in/input.js
138+ semantic error: Symbol flags mismatch for "_f":
139+ after transform: SymbolId(1): SymbolFlags (FunctionScopedVariable )
140+ rebuilt : SymbolId(2): SymbolFlags (Function )
141+
142+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/valid-await-expr-using-instanceof/input.js
143+ semantic error: Symbol flags mismatch for "_f":
144+ after transform: SymbolId(1): SymbolFlags (FunctionScopedVariable )
145+ rebuilt : SymbolId(2): SymbolFlags (Function )
146+
147+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await/input.js
148+ semantic error: Symbol flags mismatch for "_f":
149+ after transform: SymbolId(9): SymbolFlags (FunctionScopedVariable )
150+ rebuilt : SymbolId(3): SymbolFlags (Function )
151+
152+ tasks/coverage/babel/packages/babel-parser/test/fixtures/es2018/async-generators/for-await-async-of/input.js
153+ semantic error: Symbol flags mismatch for "_f":
154+ after transform: SymbolId(8): SymbolFlags (FunctionScopedVariable )
155+ rebuilt : SymbolId(3): SymbolFlags (Function )
46156
47157tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-private-properties/await-in-private-property-in-params-of-async-arrow/input.js
48158semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none
@@ -63,20 +173,6 @@ Unexpected new.target expression
63173Unexpected new.target expression
64174Unexpected new.target expression
65175
66- tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-static-block/await-binding-in-function -in-static-block/input.js
67- semantic error: Symbol flags mismatch for "f":
68- after transform: SymbolId(1): SymbolFlags (BlockScopedVariable | Function )
69- rebuilt : SymbolId(1): SymbolFlags (FunctionScopedVariable )
70- Symbol flags mismatch for "f":
71- after transform: SymbolId(2): SymbolFlags (BlockScopedVariable | Function )
72- rebuilt : SymbolId(2): SymbolFlags (FunctionScopedVariable )
73- Symbol flags mismatch for "f":
74- after transform: SymbolId(4): SymbolFlags (BlockScopedVariable | Function )
75- rebuilt : SymbolId(4): SymbolFlags (FunctionScopedVariable )
76- Symbol flags mismatch for "f":
77- after transform: SymbolId(6): SymbolFlags (BlockScopedVariable | Function )
78- rebuilt : SymbolId(6): SymbolFlags (FunctionScopedVariable )
79-
80176tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-static-block/await-binding-in-initializer-in-static-block/input.js
81177semantic error: Unexpected token
82178
@@ -1789,8 +1885,8 @@ semantic error: Scope children mismatch:
17891885after transform : ScopeId (0 ): [ScopeId (1 ), ScopeId (2 )]
17901886rebuilt : ScopeId (0 ): [ScopeId (1 )]
17911887Symbol flags mismatch for "A ":
1792- after transform : SymbolId (0 ): SymbolFlags (BlockScopedVariable | Function | Interface )
1793- rebuilt : SymbolId (0 ): SymbolFlags (BlockScopedVariable | Function )
1888+ after transform : SymbolId (0 ): SymbolFlags (Function | Interface )
1889+ rebuilt : SymbolId (0 ): SymbolFlags (Function )
17941890Symbol redeclarations mismatch for "A ":
17951891after transform : SymbolId (0 ): [Span { start: 26 , end: 27 }]
17961892rebuilt : SymbolId (0 ): []
@@ -1800,8 +1896,8 @@ semantic error: Scope children mismatch:
18001896after transform : ScopeId (0 ): [ScopeId (1 ), ScopeId (2 )]
18011897rebuilt : ScopeId (0 ): [ScopeId (1 )]
18021898Symbol flags mismatch for "A ":
1803- after transform : SymbolId (0 ): SymbolFlags (BlockScopedVariable | Function | TypeAlias )
1804- rebuilt : SymbolId (0 ): SymbolFlags (BlockScopedVariable | Function )
1899+ after transform : SymbolId (0 ): SymbolFlags (Function | TypeAlias )
1900+ rebuilt : SymbolId (0 ): SymbolFlags (Function )
18051901Symbol redeclarations mismatch for "A ":
18061902after transform : SymbolId (0 ): [Span { start: 21 , end: 22 }]
18071903rebuilt : SymbolId (0 ): []
@@ -2035,8 +2131,8 @@ semantic error: Scope children mismatch:
20352131after transform : ScopeId (0 ): [ScopeId (1 ), ScopeId (2 )]
20362132rebuilt : ScopeId (0 ): [ScopeId (1 )]
20372133Symbol flags mismatch for "A ":
2038- after transform : SymbolId (0 ): SymbolFlags (BlockScopedVariable | Function | Interface )
2039- rebuilt : SymbolId (0 ): SymbolFlags (BlockScopedVariable | Function )
2134+ after transform : SymbolId (0 ): SymbolFlags (Function | Interface )
2135+ rebuilt : SymbolId (0 ): SymbolFlags (Function )
20402136Symbol span mismatch for "A ":
20412137after transform : SymbolId (0 ): Span { start : 10, end : 11 }
20422138rebuilt : SymbolId (0 ): Span { start : 24, end : 25 }
@@ -2107,8 +2203,8 @@ semantic error: Scope children mismatch:
21072203after transform : ScopeId (0 ): [ScopeId (1 ), ScopeId (2 )]
21082204rebuilt : ScopeId (0 ): [ScopeId (1 )]
21092205Symbol flags mismatch for "A ":
2110- after transform : SymbolId (0 ): SymbolFlags (BlockScopedVariable | Function | TypeAlias )
2111- rebuilt : SymbolId (0 ): SymbolFlags (BlockScopedVariable | Function )
2206+ after transform : SymbolId (0 ): SymbolFlags (Function | TypeAlias )
2207+ rebuilt : SymbolId (0 ): SymbolFlags (Function )
21122208Symbol span mismatch for "A ":
21132209after transform : SymbolId (0 ): Span { start : 5, end : 6 }
21142210rebuilt : SymbolId (0 ): Span { start : 26, end : 27 }
0 commit comments