diff --git a/crates/oxc_transformer/src/es2017/async_to_generator.rs b/crates/oxc_transformer/src/es2017/async_to_generator.rs index 62702f3252f920..6f48c01311d7e8 100644 --- a/crates/oxc_transformer/src/es2017/async_to_generator.rs +++ b/crates/oxc_transformer/src/es2017/async_to_generator.rs @@ -284,7 +284,12 @@ impl<'a, 'ctx> AsyncGeneratorExecutor<'a, 'ctx> { (scope_id, wrapper_scope_id) }; - let bound_ident = Self::create_bound_identifier(id.as_ref(), wrapper_scope_id, ctx); + let bound_ident = Self::create_bound_identifier( + id.as_ref(), + wrapper_scope_id, + SymbolFlags::FunctionScopedVariable, + ctx, + ); let caller_function = { let scope_id = ctx.create_child_scope(wrapper_scope_id, ScopeFlags::Function); @@ -359,9 +364,18 @@ impl<'a, 'ctx> AsyncGeneratorExecutor<'a, 'ctx> { let params = Self::create_placeholder_params(&wrapper_function.params, wrapper_scope_id, ctx); let params = mem::replace(&mut wrapper_function.params, params); + + // TODO: Needs a better way to handle the function SymbolFlags in different ModuleKind. + let flags = if self.ctx.source_type.is_module() && ctx.current_scope_flags().is_top() { + SymbolFlags::BlockScopedVariable | SymbolFlags::Function + } else { + SymbolFlags::FunctionScopedVariable + }; + let bound_ident = Self::create_bound_identifier( wrapper_function.id.as_ref(), ctx.current_scope_id(), + flags, ctx, ); @@ -442,7 +456,12 @@ impl<'a, 'ctx> AsyncGeneratorExecutor<'a, 'ctx> { // to change the parent scope of the generator function to the wrapper function. ctx.scopes_mut().change_parent_id(generator_function_id, Some(wrapper_scope_id)); - let bound_ident = Self::create_bound_identifier(None, wrapper_scope_id, ctx); + let bound_ident = Self::create_bound_identifier( + None, + wrapper_scope_id, + SymbolFlags::FunctionScopedVariable, + ctx, + ); let caller_function = { let scope_id = ctx.create_child_scope(wrapper_scope_id, ScopeFlags::Function); @@ -739,13 +758,10 @@ impl<'a, 'ctx> AsyncGeneratorExecutor<'a, 'ctx> { fn create_bound_identifier( id: Option<&BindingIdentifier<'a>>, scope_id: ScopeId, + flags: SymbolFlags, ctx: &mut TraverseCtx<'a>, ) -> BoundIdentifier<'a> { - ctx.generate_uid( - id.as_ref().map_or_else(|| "ref", |id| id.name.as_str()), - scope_id, - SymbolFlags::FunctionScopedVariable, - ) + ctx.generate_uid(id.as_ref().map_or_else(|| "ref", |id| id.name.as_str()), scope_id, flags) } /// Check whether the given [`Ancestor`] is a class method-like node. diff --git a/tasks/coverage/snapshots/semantic_babel.snap b/tasks/coverage/snapshots/semantic_babel.snap index 11c6625c9d69d5..e6e8101c93c036 100644 --- a/tasks/coverage/snapshots/semantic_babel.snap +++ b/tasks/coverage/snapshots/semantic_babel.snap @@ -2,7 +2,7 @@ commit: 54a8389f semantic_babel Summary: AST Parsed : 2218/2218 (100.00%) -Positive Passed: 1846/2218 (83.23%) +Positive Passed: 1849/2218 (83.36%) tasks/coverage/babel/packages/babel-parser/test/fixtures/annex-b/enabled/3.3-function-in-if-body/input.js semantic error: Symbol scope ID mismatch for "f": after transform: SymbolId(0): ScopeId(4294967294) @@ -26,24 +26,6 @@ semantic error: A 'return' statement can only be used within a function body. tasks/coverage/babel/packages/babel-parser/test/fixtures/core/uncategorised/328/input.js semantic error: A 'return' statement can only be used within a function body. -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2015/uncategorised/385/input.js -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/25/input.js -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/babel/packages/babel-parser/test/fixtures/es2017/async-functions/export/input.js -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(2): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) -Symbol flags mismatch for "_bar": -after transform: SymbolId(4): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(4): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/babel/packages/babel-parser/test/fixtures/es2022/class-private-properties/await-in-private-property-in-params-of-async-arrow/input.js semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none diff --git a/tasks/coverage/snapshots/semantic_test262.snap b/tasks/coverage/snapshots/semantic_test262.snap index a3612d5022c01b..2b502c68cd8fef 100644 --- a/tasks/coverage/snapshots/semantic_test262.snap +++ b/tasks/coverage/snapshots/semantic_test262.snap @@ -2,7 +2,7 @@ commit: fd979d85 semantic_test262 Summary: AST Parsed : 44026/44026 (100.00%) -Positive Passed: 43486/44026 (98.77%) +Positive Passed: 43495/44026 (98.79%) tasks/coverage/test262/test/annexB/language/function-code/if-decl-else-decl-a-func-block-scoping.js semantic error: Symbol scope ID mismatch for "f": after transform: SymbolId(3): ScopeId(4294967294) @@ -3220,41 +3220,6 @@ Symbol scope ID mismatch for "x": after transform: SymbolId(4): ScopeId(7) rebuilt : SymbolId(5): ScopeId(4) -tasks/coverage/test262/test/language/expressions/dynamic-import/catch/nested-async-function-await-eval-script-code-target.js -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(2): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/test262/test/language/expressions/dynamic-import/catch/nested-async-function-eval-script-code-target.js -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(2): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/test262/test/language/expressions/dynamic-import/catch/nested-async-function-return-await-eval-script-code-target.js -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(2): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/test262/test/language/expressions/dynamic-import/catch/nested-async-gen-await-eval-script-code-target.js -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/test262/test/language/expressions/dynamic-import/catch/nested-async-gen-return-await-eval-script-code-target.js -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/test262/test/language/expressions/dynamic-import/imported-self-update.js -semantic error: Symbol flags mismatch for "_fn": -after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/test262/test/language/expressions/dynamic-import/namespace/await-ns-get-nested-namespace-dflt-indirect.js -semantic error: Symbol flags mismatch for "_fn": -after transform: SymbolId(4): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/test262/test/language/expressions/object/dstr/async-gen-meth-ary-ptrn-elem-ary-empty-init.js semantic error: Scope children mismatch: after transform: ScopeId(5): [ScopeId(2)] @@ -3812,16 +3777,6 @@ Symbol scope ID mismatch for "_obj3$a": after transform: SymbolId(7): ScopeId(8) rebuilt : SymbolId(1): ScopeId(0) -tasks/coverage/test262/test/language/module-code/export-default-asyncfunction-declaration-binding.js -semantic error: Symbol flags mismatch for "_A": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/test262/test/language/module-code/export-default-asyncgenerator-declaration-binding.js -semantic error: Symbol flags mismatch for "_AG": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/test262/test/language/module-code/top-level-await/syntax/for-await-await-expr-func-expression.js semantic error: Scope children mismatch: after transform: ScopeId(14): [ScopeId(1)] diff --git a/tasks/coverage/snapshots/semantic_typescript.snap b/tasks/coverage/snapshots/semantic_typescript.snap index 7266d2a4a35c01..a92c966d0f7d62 100644 --- a/tasks/coverage/snapshots/semantic_typescript.snap +++ b/tasks/coverage/snapshots/semantic_typescript.snap @@ -2,7 +2,7 @@ commit: d85767ab semantic_typescript Summary: AST Parsed : 6503/6503 (100.00%) -Positive Passed: 2665/6503 (40.98%) +Positive Passed: 2699/6503 (41.50%) tasks/coverage/typescript/tests/cases/compiler/2dArrays.ts semantic error: Symbol reference IDs mismatch for "Cell": after transform: SymbolId(0): [ReferenceId(1)] @@ -9146,15 +9146,9 @@ rebuilt : ScopeId(11): ["f"] Symbol reference IDs mismatch for "bluebird": after transform: SymbolId(0): [ReferenceId(1), ReferenceId(2), ReferenceId(4), ReferenceId(6), ReferenceId(8), ReferenceId(10), ReferenceId(12), ReferenceId(31), ReferenceId(33), ReferenceId(35), ReferenceId(37), ReferenceId(39), ReferenceId(41)] rebuilt : SymbolId(1): [ReferenceId(4), ReferenceId(21)] -Symbol flags mismatch for "_runSampleWorks": -after transform: SymbolId(41): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(8): SymbolFlags(BlockScopedVariable | Function) Symbol reference IDs mismatch for "func": after transform: SymbolId(15): [ReferenceId(28), ReferenceId(29)] rebuilt : SymbolId(16): [ReferenceId(13)] -Symbol flags mismatch for "_runSampleBreaks": -after transform: SymbolId(48): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(25): SymbolFlags(BlockScopedVariable | Function) Symbol reference IDs mismatch for "func": after transform: SymbolId(32): [ReferenceId(57), ReferenceId(58)] rebuilt : SymbolId(33): [ReferenceId(30)] @@ -11012,10 +11006,7 @@ after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(4), ScopeId(6), Sc rebuilt : ScopeId(0): [ScopeId(1), ScopeId(3), ScopeId(5), ScopeId(7), ScopeId(9), ScopeId(11), ScopeId(13), ScopeId(14), ScopeId(15), ScopeId(16), ScopeId(17), ScopeId(19), ScopeId(21)] tasks/coverage/typescript/tests/cases/compiler/dtsEmitTripleSlashAvoidUnnecessaryResolutionMode.ts -semantic error: Symbol flags mismatch for "_drainStream": -after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function) -Unresolved references mismatch: +semantic error: Unresolved references mismatch: after transform: ["NodeJS", "Promise", "arguments"] rebuilt : ["arguments"] @@ -13584,11 +13575,6 @@ Unresolved references mismatch: after transform: ["arguments", "require"] rebuilt : ["arguments", "require", "x", "y"] -tasks/coverage/typescript/tests/cases/compiler/es5-importHelpersAsyncFunctions.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/compiler/es5ExportDefaultClassDeclaration4.ts semantic error: Bindings mismatch: after transform: ScopeId(0): ["foo"] @@ -14560,10 +14546,7 @@ after transform: ["Function", "Q", "_try"] rebuilt : ["Q"] tasks/coverage/typescript/tests/cases/compiler/exportDefaultAsyncFunction.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) -Unresolved references mismatch: +semantic error: Unresolved references mismatch: after transform: ["Promise", "arguments"] rebuilt : ["arguments"] @@ -25197,9 +25180,6 @@ rebuilt : SymbolId(5): SymbolFlags(BlockScopedVariable) Symbol reference IDs mismatch for "GatewayOpcode": after transform: SymbolId(14): [ReferenceId(6), ReferenceId(11), ReferenceId(13), ReferenceId(16), ReferenceId(27), ReferenceId(28)] rebuilt : SymbolId(5): [] -Symbol flags mismatch for "_adaptSession": -after transform: SymbolId(33): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(11): SymbolFlags(BlockScopedVariable | Function) tasks/coverage/typescript/tests/cases/compiler/newArrays.ts semantic error: Missing SymbolId: "M" @@ -35412,9 +35392,6 @@ tasks/coverage/typescript/tests/cases/compiler/transformNestedGeneratorsWithTry. semantic error: Symbol reference IDs mismatch for "Bluebird": after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2)] rebuilt : SymbolId(0): [ReferenceId(5)] -Symbol flags mismatch for "_a": -after transform: SymbolId(8): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function) tasks/coverage/typescript/tests/cases/compiler/transformsElideNullUndefinedType.ts semantic error: Scope children mismatch: @@ -38865,11 +38842,6 @@ semantic error: Bindings mismatch: after transform: ScopeId(1): ["T"] rebuilt : ScopeId(1): [] -tasks/coverage/typescript/tests/cases/conformance/async/es5/asyncMultiFile_es5.ts -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/async/es5/asyncQualifiedReturnType_es5.ts semantic error: Missing SymbolId: "X" Missing SymbolId: "_X" @@ -39290,11 +39262,6 @@ Unresolved references mismatch: after transform: ["Promise", "arguments", "require"] rebuilt : ["arguments", "mp", "p", "require"] -tasks/coverage/typescript/tests/cases/conformance/async/es6/asyncMultiFile_es6.ts -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/async/es6/asyncUseStrict_es6.ts semantic error: Bindings mismatch: after transform: ScopeId(0): ["_asyncToGenerator", "_func", "a", "func", "p"] @@ -39625,9 +39592,6 @@ tasks/coverage/typescript/tests/cases/conformance/asyncGenerators/asyncGenerator semantic error: Bindings mismatch: after transform: ScopeId(1): ["T", "a"] rebuilt : ScopeId(3): ["a"] -Symbol flags mismatch for "_test": -after transform: SymbolId(4): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function) Unresolved references mismatch: after transform: ["AsyncGenerator", "arguments"] rebuilt : ["arguments"] @@ -41549,11 +41513,6 @@ semantic error: Unresolved references mismatch: after transform: ["Promise"] rebuilt : [] -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpression3ES2020.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpression4ES2020.ts semantic error: Bindings mismatch: after transform: ScopeId(0): ["C", "_asyncToGenerator", "console"] @@ -41571,51 +41530,6 @@ Unresolved references mismatch: after transform: ["arguments"] rebuilt : ["arguments", "console"] -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES2020.ts -semantic error: Symbol flags mismatch for "_fn": -after transform: SymbolId(10): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES5AMD.ts -semantic error: Symbol flags mismatch for "_fn": -after transform: SymbolId(10): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES5CJS.ts -semantic error: Symbol flags mismatch for "_fn": -after transform: SymbolId(10): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES5System.ts -semantic error: Symbol flags mismatch for "_fn": -after transform: SymbolId(10): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES5UMD.ts -semantic error: Symbol flags mismatch for "_fn": -after transform: SymbolId(10): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES6AMD.ts -semantic error: Symbol flags mismatch for "_fn": -after transform: SymbolId(10): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES6CJS.ts -semantic error: Symbol flags mismatch for "_fn": -after transform: SymbolId(10): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES6System.ts -semantic error: Symbol flags mismatch for "_fn": -after transform: SymbolId(10): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionAsyncES6UMD.ts -semantic error: Symbol flags mismatch for "_fn": -after transform: SymbolId(10): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionDeclarationEmit1.ts semantic error: Bindings mismatch: after transform: ScopeId(0): ["directory", "moduleFile", "p0", "p1", "p2", "returnDynamicLoad", "whatToLoad"] @@ -41652,11 +41566,6 @@ semantic error: Unresolved references mismatch: after transform: ["Promise"] rebuilt : [] -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInAMD3.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInAMD4.ts semantic error: Bindings mismatch: after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"] @@ -41684,10 +41593,7 @@ after transform: ["arguments"] rebuilt : ["arguments", "console"] tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInCJS2.ts -semantic error: Symbol flags mismatch for "_compute": -after transform: SymbolId(4): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function) -Unresolved references mismatch: +semantic error: Unresolved references mismatch: after transform: ["Promise", "arguments"] rebuilt : ["arguments"] @@ -41696,11 +41602,6 @@ semantic error: Unresolved references mismatch: after transform: ["Promise"] rebuilt : [] -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInCJS4.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInCJS5.ts semantic error: Bindings mismatch: after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"] @@ -41735,11 +41636,6 @@ semantic error: Unresolved references mismatch: after transform: ["Promise"] rebuilt : [] -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInSystem3.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInSystem4.ts semantic error: Bindings mismatch: after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"] @@ -41771,11 +41667,6 @@ semantic error: Unresolved references mismatch: after transform: ["Promise"] rebuilt : [] -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInUMD3.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInUMD4.ts semantic error: Bindings mismatch: after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"] @@ -41802,61 +41693,6 @@ Unresolved references mismatch: after transform: ["arguments"] rebuilt : ["arguments", "console"] -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInUMD5.ts -semantic error: Symbol flags mismatch for "_func": -after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionNestedAMD.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionNestedAMD2.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionNestedCJS.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionNestedCJS2.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionNestedES2020.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionNestedES20202.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionNestedSystem.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionNestedSystem2.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionNestedUMD.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionNestedUMD2.ts -semantic error: Symbol flags mismatch for "_foo": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionReturnPromiseOfAny.ts semantic error: Bindings mismatch: after transform: ScopeId(0): ["defaultModule", "directory", "j", "loadModule", "moduleFile", "p1", "p11", "p2", "p3", "whatToLoad"] @@ -41877,21 +41713,6 @@ Unresolved references mismatch: after transform: ["Promise", "ValidSomeCondition", "getSpecifier"] rebuilt : ["ValidSomeCondition", "directory", "getSpecifier", "moduleFile", "whatToLoad"] -tasks/coverage/typescript/tests/cases/conformance/emitter/es2015/asyncGenerators/emitter.asyncGenerators.functionDeclarations.es2015.ts -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/emitter/es2018/asyncGenerators/emitter.asyncGenerators.functionDeclarations.es2018.ts -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/emitter/es5/asyncGenerators/emitter.asyncGenerators.functionDeclarations.es5.ts -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/enums/enumBasics.ts semantic error: Bindings mismatch: after transform: ScopeId(1): ["A", "B", "C", "E1"] @@ -49406,9 +49227,6 @@ tasks/coverage/typescript/tests/cases/conformance/importAttributes/importAttribu semantic error: Bindings mismatch: after transform: ScopeId(0): ["_asyncToGenerator", "_f", "a", "f"] rebuilt : ScopeId(0): ["_asyncToGenerator", "_f", "f"] -Symbol flags mismatch for "_f": -after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) tasks/coverage/typescript/tests/cases/conformance/importAttributes/importAttributes8.ts semantic error: Bindings mismatch: @@ -51062,9 +50880,6 @@ rebuilt : ScopeId(0): [ScopeId(1), ScopeId(3), ScopeId(4), ScopeId(6)] Bindings mismatch: after transform: ScopeId(3): ["TResult"] rebuilt : ScopeId(1): [] -Symbol flags mismatch for "_load": -after transform: SymbolId(9): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(5): SymbolFlags(BlockScopedVariable | Function) Unresolved references mismatch: after transform: ["Exclude", "Promise", "arguments", "true"] rebuilt : ["arguments"] @@ -52556,16 +52371,6 @@ semantic error: Expected a semicolon or an implicit semicolon after a statement, tasks/coverage/typescript/tests/cases/conformance/moduleResolution/untypedModuleImport_vsAmbient.ts semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none -tasks/coverage/typescript/tests/cases/conformance/node/allowJs/nodeModulesAllowJsDynamicImport.ts -semantic error: Symbol flags mismatch for "_main": -after transform: SymbolId(2): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - -tasks/coverage/typescript/tests/cases/conformance/node/nodeModulesDynamicImport.ts -semantic error: Symbol flags mismatch for "_main": -after transform: SymbolId(2): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/node/nodeModulesImportAssignments.ts semantic error: Missing SymbolId: "fs" Missing ReferenceId: "require" @@ -53589,12 +53394,6 @@ rebuilt : ScopeId(0): [SymbolId(0), SymbolId(1), SymbolId(2), SymbolId(3) Binding symbols mismatch: after transform: ScopeId(37): [SymbolId(27), SymbolId(44)] rebuilt : ScopeId(43): [SymbolId(32), SymbolId(33)] -Symbol flags mismatch for "_af": -after transform: SymbolId(45): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(7): SymbolFlags(BlockScopedVariable | Function) -Symbol flags mismatch for "_ag": -after transform: SymbolId(48): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(12): SymbolFlags(BlockScopedVariable | Function) tasks/coverage/typescript/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsDeclarationEmit.2.ts semantic error: Bindings mismatch: @@ -53899,11 +53698,6 @@ Unresolved references mismatch: after transform: [] rebuilt : ["dec"] -tasks/coverage/typescript/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsWithObjectLiterals2.ts -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(4): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function) - tasks/coverage/typescript/tests/cases/conformance/statements/VariableStatements/validMultipleVariableDeclarations.ts semantic error: Bindings mismatch: after transform: ScopeId(0): ["Point", "a", "declSpace", "fn", "p", "x"] @@ -53922,9 +53716,27 @@ after transform: SymbolId(8): [ReferenceId(9)] rebuilt : SymbolId(7): [] tasks/coverage/typescript/tests/cases/conformance/statements/for-await-ofStatements/emitter.forAwait.ts -semantic error: Symbol flags mismatch for "_f": -after transform: SymbolId(10): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function) +semantic error: Bindings mismatch: +after transform: ScopeId(1): ["y"] +rebuilt : ScopeId(3): ["_didIteratorError", "_iterator", "_iteratorAbruptCompletion", "_iteratorError", "_step", "y"] +Bindings mismatch: +after transform: ScopeId(3): ["_didIteratorError", "_iterator", "_iteratorAbruptCompletion", "_iteratorError", "_step"] +rebuilt : ScopeId(5): [] +Symbol scope ID mismatch for "_iteratorAbruptCompletion": +after transform: SymbolId(6): ScopeId(3) +rebuilt : SymbolId(6): ScopeId(3) +Symbol scope ID mismatch for "_didIteratorError": +after transform: SymbolId(5): ScopeId(3) +rebuilt : SymbolId(7): ScopeId(3) +Symbol scope ID mismatch for "_iteratorError": +after transform: SymbolId(7): ScopeId(3) +rebuilt : SymbolId(8): ScopeId(3) +Symbol scope ID mismatch for "_iterator": +after transform: SymbolId(8): ScopeId(3) +rebuilt : SymbolId(9): ScopeId(3) +Symbol scope ID mismatch for "_step": +after transform: SymbolId(3): ScopeId(3) +rebuilt : SymbolId(10): ScopeId(3) tasks/coverage/typescript/tests/cases/conformance/statements/for-inStatements/for-inStatementsArray.ts semantic error: Unresolved references mismatch: @@ -54232,21 +54044,6 @@ rebuilt : ScopeId(0): ["_asyncToGenerator", "_copyExtensions", "_fn", "_f Scope children mismatch: after transform: ScopeId(0): [ScopeId(1), ScopeId(8), ScopeId(9), ScopeId(10), ScopeId(11), ScopeId(12), ScopeId(13), ScopeId(14), ScopeId(15), ScopeId(20), ScopeId(21), ScopeId(22), ScopeId(26), ScopeId(27), ScopeId(28), ScopeId(29), ScopeId(30), ScopeId(31), ScopeId(32), ScopeId(33), ScopeId(36), ScopeId(37)] rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(4), ScopeId(5), ScopeId(8), ScopeId(9), ScopeId(11), ScopeId(12), ScopeId(15), ScopeId(20), ScopeId(21)] -Symbol flags mismatch for "_fn": -after transform: SymbolId(26): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function) -Symbol flags mismatch for "_fn2": -after transform: SymbolId(28): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(4): SymbolFlags(BlockScopedVariable | Function) -Symbol flags mismatch for "_fn3": -after transform: SymbolId(29): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(7): SymbolFlags(BlockScopedVariable | Function) -Symbol flags mismatch for "_fn4": -after transform: SymbolId(30): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(9): SymbolFlags(BlockScopedVariable | Function) -Symbol flags mismatch for "_copyExtensions": -after transform: SymbolId(34): SymbolFlags(FunctionScopedVariable) -rebuilt : SymbolId(16): SymbolFlags(BlockScopedVariable | Function) Reference symbol mismatch for "test": after transform: SymbolId(11) "test" rebuilt : diff --git a/tasks/transform_conformance/snapshots/babel.snap.md b/tasks/transform_conformance/snapshots/babel.snap.md index f7f47b197207d4..a6492cb4f3e2ea 100644 --- a/tasks/transform_conformance/snapshots/babel.snap.md +++ b/tasks/transform_conformance/snapshots/babel.snap.md @@ -1,6 +1,6 @@ commit: 54a8389f -Passed: 359/701 +Passed: 406/846 # All Passed: * babel-plugin-transform-class-static-block @@ -276,7 +276,7 @@ x Output mismatch x Output mismatch -# babel-plugin-transform-class-properties (32/119) +# babel-plugin-transform-class-properties (79/264) * assumption-constantSuper/complex-super-class/input.js x Output mismatch @@ -299,7 +299,15 @@ x Output mismatch x Output mismatch * assumption-setPublicClassFields/foobar/input.js -x Output mismatch +Scope children mismatch: +after transform: ScopeId(1): [ScopeId(2), ScopeId(3)] +rebuilt : ScopeId(1): [ScopeId(2)] +Scope children mismatch: +after transform: ScopeId(2): [] +rebuilt : ScopeId(2): [ScopeId(3)] +Scope parent mismatch: +after transform: ScopeId(3): Some(ScopeId(1)) +rebuilt : ScopeId(3): Some(ScopeId(2)) * assumption-setPublicClassFields/regression-T7364/input.mjs Scope children mismatch: @@ -354,6 +362,12 @@ x Output mismatch * class-name-tdz/general/input.js x Output mismatch +* class-name-tdz/static-edgest-case/input.js +x Output mismatch + +* class-name-tdz/static-general/input.js +x Output mismatch + * class-name-tdz/static-loose/input.js x Output mismatch @@ -367,9 +381,91 @@ Unresolved references mismatch: after transform: ["T"] rebuilt : [] +* nested-class/super-call-in-decorator/input.js +x Output mismatch + +* nested-class/super-property-in-accessor-key/input.js +x Output mismatch + +* nested-class/super-property-in-decorator/input.js +x Output mismatch + +* private/1-helpermemberexpressionfunction/input.js +x Output mismatch + +* private/call/input.js +Scope children mismatch: +after transform: ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4)] +rebuilt : ScopeId(1): [ScopeId(2), ScopeId(4)] +Scope children mismatch: +after transform: ScopeId(4): [] +rebuilt : ScopeId(2): [ScopeId(3)] +Scope parent mismatch: +after transform: ScopeId(2): Some(ScopeId(1)) +rebuilt : ScopeId(3): Some(ScopeId(2)) + * private/class-shadow-builtins/input.mjs x Output mismatch +* private/constructor-collision/input.js +x Output mismatch + +* private/derived-multiple-supers/input.js +x Output mismatch + +* private/destructuring-array-pattern/input.js +x Output mismatch + +* private/destructuring-array-pattern-1/input.js +x Output mismatch + +* private/destructuring-array-pattern-2/input.js +x Output mismatch + +* private/destructuring-array-pattern-3/input.js +x Output mismatch + +* private/destructuring-array-pattern-static/input.js +x Output mismatch + +* private/destructuring-object-pattern/input.js +x Output mismatch + +* private/destructuring-object-pattern-1/input.js +x Output mismatch + +* private/destructuring-object-pattern-2/input.js +x Output mismatch + +* private/destructuring-object-pattern-3/input.js +x Output mismatch + +* private/destructuring-object-pattern-static/input.js +x Output mismatch + +* private/extracted-this/input.js +x Output mismatch + +* private/foobar/input.js +Scope children mismatch: +after transform: ScopeId(1): [ScopeId(2), ScopeId(3)] +rebuilt : ScopeId(1): [ScopeId(2)] +Scope children mismatch: +after transform: ScopeId(2): [] +rebuilt : ScopeId(2): [ScopeId(3)] +Scope parent mismatch: +after transform: ScopeId(3): Some(ScopeId(1)) +rebuilt : ScopeId(3): Some(ScopeId(2)) + +* private/nested-class-computed-redeclared/input.js +x Output mismatch + +* private/nested-class-extends-computed/input.js +x Output mismatch + +* private/nested-class-extends-computed-redeclared/input.js +x Output mismatch + * private/optional-chain-before-member-call/input.js x Output mismatch @@ -427,6 +523,26 @@ x Output mismatch * private/regression-T7364/input.mjs x Output mismatch +* private/static-call/input.js +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1)] +rebuilt : ScopeId(0): [ScopeId(1), ScopeId(3)] +Scope children mismatch: +after transform: ScopeId(1): [ScopeId(2), ScopeId(3)] +rebuilt : ScopeId(1): [ScopeId(2)] +Scope flags mismatch: +after transform: ScopeId(2): ScopeFlags(StrictMode | Function) +rebuilt : ScopeId(3): ScopeFlags(Function) +Scope parent mismatch: +after transform: ScopeId(2): Some(ScopeId(1)) +rebuilt : ScopeId(3): Some(ScopeId(0)) +Symbol reference IDs mismatch for "Foo": +after transform: SymbolId(0): [ReferenceId(1), ReferenceId(4)] +rebuilt : SymbolId(0): [ReferenceId(1)] + +* private/static-class-binding/input.js +x Output mismatch + * private/static-infer-name/input.js x Output mismatch @@ -436,15 +552,111 @@ x Output mismatch * private/static-shadow/input.js x Output mismatch +* private/static-this/input.js +x Output mismatch + +* private/super-expression/input.js +x Output mismatch + +* private/tagged-template/input.js +x Output mismatch + +* private-loose/assignment/input.js +x Output mismatch + +* private-loose/call/input.js +x Output mismatch + +* private-loose/canonical/input.js +x Output mismatch + * private-loose/class-shadow-builtins/input.mjs x Output mismatch +* private-loose/constructor-collision/input.js +x Output mismatch + +* private-loose/declaration-order/input.js +x Output mismatch + +* private-loose/derived/input.js +x Output mismatch + +* private-loose/derived-multiple-supers/input.js +x Output mismatch + +* private-loose/destructuring-array-pattern/input.js +x Output mismatch + +* private-loose/destructuring-array-pattern-1/input.js +x Output mismatch + +* private-loose/destructuring-array-pattern-2/input.js +x Output mismatch + +* private-loose/destructuring-array-pattern-3/input.js +x Output mismatch + +* private-loose/destructuring-array-pattern-static/input.js +x Output mismatch + +* private-loose/destructuring-object-pattern/input.js +x Output mismatch + +* private-loose/destructuring-object-pattern-1/input.js +x Output mismatch + +* private-loose/destructuring-object-pattern-2/input.js +x Output mismatch + +* private-loose/destructuring-object-pattern-3/input.js +x Output mismatch + +* private-loose/destructuring-object-pattern-static/input.js +x Output mismatch + +* private-loose/extracted-this/input.js +x Output mismatch + +* private-loose/foobar/input.js +x Output mismatch + +* private-loose/instance/input.js +x Output mismatch + +* private-loose/instance-undefined/input.js +x Output mismatch + * private-loose/logical-assignment/input.js x Output mismatch +* private-loose/multiple/input.js +x Output mismatch + * private-loose/native-classes/input.js x Output mismatch +* private-loose/nested-class/input.js +x Output mismatch + +* private-loose/nested-class-computed/input.js +x Output mismatch + +* private-loose/nested-class-computed-redeclared/input.js +x Output mismatch + +* private-loose/nested-class-extends-computed/input.js +x Output mismatch + +* private-loose/nested-class-extends-computed-redeclared/input.js +x Output mismatch + +* private-loose/nested-class-other-redeclared/input.js +x Output mismatch + +* private-loose/nested-class-redeclared/input.js +x Output mismatch + * private-loose/non-block-arrow-func/input.mjs x Output mismatch @@ -502,12 +714,27 @@ x Output mismatch * private-loose/parenthesized-optional-member-call-with-transform/input.js x Output mismatch +* private-loose/preserve-comments/input.js +x Output mismatch + +* private-loose/private-in-derived/input.js +x Output mismatch + * private-loose/reevaluated/input.js x Output mismatch +* private-loose/reference-in-other-property/input.js +x Output mismatch + * private-loose/static/input.js x Output mismatch +* private-loose/static-call/input.js +x Output mismatch + +* private-loose/static-class-binding/input.js +x Output mismatch + * private-loose/static-export/input.mjs x Output mismatch @@ -520,12 +747,53 @@ x Output mismatch * private-loose/static-shadow/input.js x Output mismatch +* private-loose/static-this/input.js +x Output mismatch + * private-loose/static-undefined/input.js x Output mismatch +* private-loose/super-expression/input.js +x Output mismatch + +* private-loose/super-statement/input.js +x Output mismatch + +* private-loose/update/input.js +x Output mismatch + +* public/arrow-static-this-without-transform/input.js +x Output mismatch + +* public/call/input.js +Scope children mismatch: +after transform: ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4)] +rebuilt : ScopeId(1): [ScopeId(2), ScopeId(4)] +Scope children mismatch: +after transform: ScopeId(4): [] +rebuilt : ScopeId(2): [ScopeId(3)] +Scope parent mismatch: +after transform: ScopeId(2): Some(ScopeId(1)) +rebuilt : ScopeId(3): Some(ScopeId(2)) + * public/class-shadow-builtins/input.mjs x Output mismatch +* public/computed/input.js +x Output mismatch + +* public/computed-toPrimitive/input.js +x Output mismatch + +* public/constructor-collision/input.js +x Output mismatch + +* public/delete-super-property/input.js +x Output mismatch + +* public/derived-multiple-supers/input.js +x Output mismatch + * public/derived-super-in-default-params/input.js x Output mismatch @@ -535,7 +803,24 @@ x Output mismatch * public/derived-super-in-default-params-in-arrow/input.js x Output mismatch +* public/extracted-this/input.js +x Output mismatch + * public/foobar/input.js +Scope children mismatch: +after transform: ScopeId(1): [ScopeId(2), ScopeId(3)] +rebuilt : ScopeId(1): [ScopeId(2)] +Scope children mismatch: +after transform: ScopeId(2): [] +rebuilt : ScopeId(2): [ScopeId(3)] +Scope parent mismatch: +after transform: ScopeId(3): Some(ScopeId(1)) +rebuilt : ScopeId(3): Some(ScopeId(2)) + +* public/non-block-arrow-func/input.mjs +x Output mismatch + +* public/regression-T2983/input.mjs x Output mismatch * public/regression-T7364/input.mjs @@ -567,9 +852,48 @@ Scope parent mismatch: after transform: ScopeId(6): Some(ScopeId(5)) rebuilt : ScopeId(9): Some(ScopeId(8)) +* public/static-class-binding/input.js +x Output mismatch + +* public/static-export/input.mjs +x Output mismatch + +* public/static-infer-name/input.js +x Output mismatch + +* public/static-super/input.js +x Output mismatch + +* public/static-this/input.js +x Output mismatch + +* public/super-expression/input.js +x Output mismatch + +* public/super-with-collision/input.js +x Output mismatch + +* public-loose/arrow-static-this-without-transform/input.js +x Output mismatch + * public-loose/class-shadow-builtins/input.mjs x Output mismatch +* public-loose/computed/input.js +x Output mismatch + +* public-loose/constructor-collision/input.js +x Output mismatch + +* public-loose/foobar/input.js +x Output mismatch + +* public-loose/non-block-arrow-func/input.mjs +x Output mismatch + +* public-loose/regression-T2983/input.mjs +x Output mismatch + * public-loose/regression-T7364/input.mjs Scope children mismatch: after transform: ScopeId(1): [ScopeId(2), ScopeId(7)] @@ -599,6 +923,27 @@ Scope parent mismatch: after transform: ScopeId(6): Some(ScopeId(5)) rebuilt : ScopeId(9): Some(ScopeId(8)) +* public-loose/static-class-binding/input.js +x Output mismatch + +* public-loose/static-export/input.mjs +x Output mismatch + +* public-loose/static-infer-name/input.js +x Output mismatch + +* public-loose/static-super/input.js +x Output mismatch + +* public-loose/static-this/input.js +x Output mismatch + +* public-loose/super-expression/input.js +x Output mismatch + +* public-loose/super-with-collision/input.js +x Output mismatch + * regression/6153/input.js x Output mismatch @@ -625,6 +970,9 @@ Symbol scope ID mismatch for "_bar": after transform: SymbolId(4): ScopeId(2) rebuilt : SymbolId(3): ScopeId(0) +* regression/T2983/input.mjs +x Output mismatch + * regression/T7364/input.mjs Scope children mismatch: after transform: ScopeId(1): [ScopeId(2), ScopeId(7)]