### Difference In `enter_expression`: Recursive transform JSX In `exit_expression`: Deep first transform After the change, `transform_jsx` still has a lot of room for improvement.
6.9 KiB
commit: 3bcfee23
Passed: 43/53
All Passed:
- babel-plugin-transform-nullish-coalescing-operator
- babel-plugin-transform-optional-catch-binding
- babel-plugin-transform-arrow-functions
- babel-preset-typescript
- regexp
babel-plugin-transform-typescript (1/8)
-
class-property-definition/input.ts Unresolved references mismatch: after transform: ["const"] rebuilt : []
-
computed-constant-value/input.ts Missing ReferenceId: Infinity Missing ReferenceId: Infinity Missing ReferenceId: Infinity Missing ReferenceId: Infinity Bindings mismatch: after transform: ScopeId(1): ["A", "a", "b", "c", "d", "e"] rebuilt : ScopeId(1): ["A"] Scope flags mismatch: after transform: ScopeId(1): ScopeFlags(0x0) rebuilt : ScopeId(1): ScopeFlags(Function) Bindings mismatch: after transform: ScopeId(2): ["B", "a", "b", "c", "d", "e"] rebuilt : ScopeId(2): ["B"] Scope flags mismatch: after transform: ScopeId(2): ScopeFlags(0x0) rebuilt : ScopeId(2): ScopeFlags(Function) Bindings mismatch: after transform: ScopeId(3): ["C", "a", "b", "c"] rebuilt : ScopeId(3): ["C"] Scope flags mismatch: after transform: ScopeId(3): ScopeFlags(0x0) rebuilt : ScopeId(3): ScopeFlags(Function) Bindings mismatch: after transform: ScopeId(4): ["D", "a", "b", "c"] rebuilt : ScopeId(4): ["D"] Scope flags mismatch: after transform: ScopeId(4): ScopeFlags(0x0) rebuilt : ScopeId(4): ScopeFlags(Function) Symbol flags mismatch: after transform: SymbolId(0): SymbolFlags(RegularEnum) rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) Symbol flags mismatch: after transform: SymbolId(6): SymbolFlags(RegularEnum) rebuilt : SymbolId(2): SymbolFlags(FunctionScopedVariable) Symbol flags mismatch: after transform: SymbolId(12): SymbolFlags(RegularEnum) rebuilt : SymbolId(4): SymbolFlags(FunctionScopedVariable) Symbol flags mismatch: after transform: SymbolId(16): SymbolFlags(RegularEnum) rebuilt : SymbolId(6): SymbolFlags(FunctionScopedVariable) Unresolved references mismatch: after transform: ["Infinity", "NaN"] rebuilt : ["Infinity"] Unresolved reference IDs mismatch for "Infinity": after transform: [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(3)] rebuilt : [ReferenceId(2), ReferenceId(5), ReferenceId(8), ReferenceId(12)]
-
elimination-declare/input.ts Bindings mismatch: after transform: ScopeId(0): ["A", "ReactiveMarkerSymbol"] rebuilt : ScopeId(0): [] Scope children mismatch: after transform: ScopeId(0): [ScopeId(1)] rebuilt : ScopeId(0): []
-
enum-member-reference/input.ts Missing ReferenceId: Foo Bindings mismatch: after transform: ScopeId(1): ["Foo", "a", "b", "c"] rebuilt : ScopeId(1): ["Foo"] Scope flags mismatch: after transform: ScopeId(1): ScopeFlags(0x0) rebuilt : ScopeId(1): ScopeFlags(Function) Symbol flags mismatch: after transform: SymbolId(1): SymbolFlags(RegularEnum) rebuilt : SymbolId(1): SymbolFlags(FunctionScopedVariable) Symbol reference IDs mismatch: after transform: SymbolId(5): [ReferenceId(3), ReferenceId(4), ReferenceId(5), ReferenceId(6), ReferenceId(7), ReferenceId(8), ReferenceId(9)] rebuilt : SymbolId(2): [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5), ReferenceId(6), ReferenceId(8)]
-
export-elimination/input.ts Missing SymbolId: Name Missing SymbolId: _Name Missing ReferenceId: _Name Missing ReferenceId: Name Missing ReferenceId: Name Bindings mismatch: after transform: ScopeId(0): ["Baq", "Bar", "Baz", "Foo", "Func", "Im", "Name", "Ok", "T"] rebuilt : ScopeId(0): ["Bar", "Foo", "Func", "Im", "Name", "Ok", "T"] Scope children mismatch: after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), ScopeId(4), ScopeId(5), ScopeId(6), ScopeId(7)] rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), ScopeId(4)] Binding symbols mismatch: after transform: ScopeId(5): [SymbolId(8), SymbolId(10)] rebuilt : ScopeId(3): [SymbolId(6), SymbolId(7)] Scope flags mismatch: after transform: ScopeId(5): ScopeFlags(StrictMode | Function) rebuilt : ScopeId(3): ScopeFlags(Function) Symbol flags mismatch: after transform: SymbolId(8): SymbolFlags(BlockScopedVariable | ConstVariable | Export) rebuilt : SymbolId(7): SymbolFlags(BlockScopedVariable | ConstVariable) Symbol flags mismatch: after transform: SymbolId(9): SymbolFlags(FunctionScopedVariable | Export | TypeAlias) rebuilt : SymbolId(8): SymbolFlags(FunctionScopedVariable | Export) Symbol span mismatch: after transform: SymbolId(9): Span { start: 205, end: 206 } rebuilt : SymbolId(8): Span { start: 226, end: 227 } Symbol reference IDs mismatch: after transform: SymbolId(9): [ReferenceId(8), ReferenceId(9)] rebuilt : SymbolId(8): [ReferenceId(9)] Symbol redeclarations mismatch: after transform: SymbolId(9): [Span { start: 226, end: 227 }] rebuilt : SymbolId(8): [] Reference symbol mismatch: after transform: ReferenceId(7): Some("Name") rebuilt : ReferenceId(8): Some("Name")
-
redeclarations/input.ts Scope children mismatch: after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] rebuilt : ScopeId(0): [] Symbol flags mismatch: after transform: SymbolId(0): SymbolFlags(BlockScopedVariable | ConstVariable | Export | Import) rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable | ConstVariable | Export) Symbol span mismatch: after transform: SymbolId(0): Span { start: 57, end: 58 } rebuilt : SymbolId(0): Span { start: 79, end: 83 } Symbol reference IDs mismatch: after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1)] rebuilt : SymbolId(0): [ReferenceId(0)] Symbol redeclarations mismatch: after transform: SymbolId(0): [Span { start: 79, end: 83 }] rebuilt : SymbolId(0): [] Symbol flags mismatch: after transform: SymbolId(1): SymbolFlags(Export | Import | TypeAlias) rebuilt : SymbolId(1): SymbolFlags(Export | Import) Symbol redeclarations mismatch: after transform: SymbolId(1): [Span { start: 170, end: 171 }] rebuilt : SymbolId(1): [] Symbol flags mismatch: after transform: SymbolId(2): SymbolFlags(BlockScopedVariable | ConstVariable | Export | Import | TypeAlias) rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | ConstVariable | Export) Symbol span mismatch: after transform: SymbolId(2): Span { start: 267, end: 268 } rebuilt : SymbolId(2): Span { start: 289, end: 293 } Symbol reference IDs mismatch: after transform: SymbolId(2): [ReferenceId(3), ReferenceId(4)] rebuilt : SymbolId(2): [ReferenceId(2)] Symbol redeclarations mismatch: after transform: SymbolId(2): [Span { start: 289, end: 293 }, Span { start: 304, end: 305 }] rebuilt : SymbolId(2): []
-
ts-declaration-empty-output/input.d.ts x Output mismatch
babel-plugin-transform-react-jsx (28/31)
-
refresh/does-not-transform-it-because-it-is-not-used-in-the-AST/input.jsx x Output mismatch
-
refresh/supports-typescript-namespace-syntax/input.tsx x Output mismatch
-
unicode/input.jsx x Output mismatch