mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 12:51:57 +00:00
fix(transformer/async-to-generator): correct the SymbolFlags of function id in module (#7470)
This commit is contained in:
parent
37842c166d
commit
58a125ff88
4 changed files with 50 additions and 300 deletions
|
|
@ -284,7 +284,12 @@ impl<'a, 'ctx> AsyncGeneratorExecutor<'a, 'ctx> {
|
||||||
(scope_id, wrapper_scope_id)
|
(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 caller_function = {
|
||||||
let scope_id = ctx.create_child_scope(wrapper_scope_id, ScopeFlags::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 =
|
let params =
|
||||||
Self::create_placeholder_params(&wrapper_function.params, wrapper_scope_id, ctx);
|
Self::create_placeholder_params(&wrapper_function.params, wrapper_scope_id, ctx);
|
||||||
let params = mem::replace(&mut wrapper_function.params, params);
|
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(
|
let bound_ident = Self::create_bound_identifier(
|
||||||
wrapper_function.id.as_ref(),
|
wrapper_function.id.as_ref(),
|
||||||
ctx.current_scope_id(),
|
ctx.current_scope_id(),
|
||||||
|
flags,
|
||||||
ctx,
|
ctx,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -442,7 +456,12 @@ impl<'a, 'ctx> AsyncGeneratorExecutor<'a, 'ctx> {
|
||||||
// to change the parent scope of the generator function to the wrapper function.
|
// 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));
|
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 caller_function = {
|
||||||
let scope_id = ctx.create_child_scope(wrapper_scope_id, ScopeFlags::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(
|
fn create_bound_identifier(
|
||||||
id: Option<&BindingIdentifier<'a>>,
|
id: Option<&BindingIdentifier<'a>>,
|
||||||
scope_id: ScopeId,
|
scope_id: ScopeId,
|
||||||
|
flags: SymbolFlags,
|
||||||
ctx: &mut TraverseCtx<'a>,
|
ctx: &mut TraverseCtx<'a>,
|
||||||
) -> BoundIdentifier<'a> {
|
) -> BoundIdentifier<'a> {
|
||||||
ctx.generate_uid(
|
ctx.generate_uid(id.as_ref().map_or_else(|| "ref", |id| id.name.as_str()), scope_id, flags)
|
||||||
id.as_ref().map_or_else(|| "ref", |id| id.name.as_str()),
|
|
||||||
scope_id,
|
|
||||||
SymbolFlags::FunctionScopedVariable,
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Check whether the given [`Ancestor`] is a class method-like node.
|
/// Check whether the given [`Ancestor`] is a class method-like node.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ commit: 54a8389f
|
||||||
|
|
||||||
semantic_babel Summary:
|
semantic_babel Summary:
|
||||||
AST Parsed : 2218/2218 (100.00%)
|
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
|
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":
|
semantic error: Symbol scope ID mismatch for "f":
|
||||||
after transform: SymbolId(0): ScopeId(4294967294)
|
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
|
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.
|
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
|
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
|
semantic error: Expected a semicolon or an implicit semicolon after a statement, but found none
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ commit: fd979d85
|
||||||
|
|
||||||
semantic_test262 Summary:
|
semantic_test262 Summary:
|
||||||
AST Parsed : 44026/44026 (100.00%)
|
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
|
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":
|
semantic error: Symbol scope ID mismatch for "f":
|
||||||
after transform: SymbolId(3): ScopeId(4294967294)
|
after transform: SymbolId(3): ScopeId(4294967294)
|
||||||
|
|
@ -3220,41 +3220,6 @@ Symbol scope ID mismatch for "x":
|
||||||
after transform: SymbolId(4): ScopeId(7)
|
after transform: SymbolId(4): ScopeId(7)
|
||||||
rebuilt : SymbolId(5): ScopeId(4)
|
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
|
tasks/coverage/test262/test/language/expressions/object/dstr/async-gen-meth-ary-ptrn-elem-ary-empty-init.js
|
||||||
semantic error: Scope children mismatch:
|
semantic error: Scope children mismatch:
|
||||||
after transform: ScopeId(5): [ScopeId(2)]
|
after transform: ScopeId(5): [ScopeId(2)]
|
||||||
|
|
@ -3812,16 +3777,6 @@ Symbol scope ID mismatch for "_obj3$a":
|
||||||
after transform: SymbolId(7): ScopeId(8)
|
after transform: SymbolId(7): ScopeId(8)
|
||||||
rebuilt : SymbolId(1): ScopeId(0)
|
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
|
tasks/coverage/test262/test/language/module-code/top-level-await/syntax/for-await-await-expr-func-expression.js
|
||||||
semantic error: Scope children mismatch:
|
semantic error: Scope children mismatch:
|
||||||
after transform: ScopeId(14): [ScopeId(1)]
|
after transform: ScopeId(14): [ScopeId(1)]
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ commit: d85767ab
|
||||||
|
|
||||||
semantic_typescript Summary:
|
semantic_typescript Summary:
|
||||||
AST Parsed : 6503/6503 (100.00%)
|
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
|
tasks/coverage/typescript/tests/cases/compiler/2dArrays.ts
|
||||||
semantic error: Symbol reference IDs mismatch for "Cell":
|
semantic error: Symbol reference IDs mismatch for "Cell":
|
||||||
after transform: SymbolId(0): [ReferenceId(1)]
|
after transform: SymbolId(0): [ReferenceId(1)]
|
||||||
|
|
@ -9146,15 +9146,9 @@ rebuilt : ScopeId(11): ["f"]
|
||||||
Symbol reference IDs mismatch for "bluebird":
|
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)]
|
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)]
|
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":
|
Symbol reference IDs mismatch for "func":
|
||||||
after transform: SymbolId(15): [ReferenceId(28), ReferenceId(29)]
|
after transform: SymbolId(15): [ReferenceId(28), ReferenceId(29)]
|
||||||
rebuilt : SymbolId(16): [ReferenceId(13)]
|
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":
|
Symbol reference IDs mismatch for "func":
|
||||||
after transform: SymbolId(32): [ReferenceId(57), ReferenceId(58)]
|
after transform: SymbolId(32): [ReferenceId(57), ReferenceId(58)]
|
||||||
rebuilt : SymbolId(33): [ReferenceId(30)]
|
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)]
|
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
|
tasks/coverage/typescript/tests/cases/compiler/dtsEmitTripleSlashAvoidUnnecessaryResolutionMode.ts
|
||||||
semantic error: Symbol flags mismatch for "_drainStream":
|
semantic error: Unresolved references mismatch:
|
||||||
after transform: SymbolId(3): SymbolFlags(FunctionScopedVariable)
|
|
||||||
rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function)
|
|
||||||
Unresolved references mismatch:
|
|
||||||
after transform: ["NodeJS", "Promise", "arguments"]
|
after transform: ["NodeJS", "Promise", "arguments"]
|
||||||
rebuilt : ["arguments"]
|
rebuilt : ["arguments"]
|
||||||
|
|
||||||
|
|
@ -13584,11 +13575,6 @@ Unresolved references mismatch:
|
||||||
after transform: ["arguments", "require"]
|
after transform: ["arguments", "require"]
|
||||||
rebuilt : ["arguments", "require", "x", "y"]
|
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
|
tasks/coverage/typescript/tests/cases/compiler/es5ExportDefaultClassDeclaration4.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(0): ["foo"]
|
after transform: ScopeId(0): ["foo"]
|
||||||
|
|
@ -14560,10 +14546,7 @@ after transform: ["Function", "Q", "_try"]
|
||||||
rebuilt : ["Q"]
|
rebuilt : ["Q"]
|
||||||
|
|
||||||
tasks/coverage/typescript/tests/cases/compiler/exportDefaultAsyncFunction.ts
|
tasks/coverage/typescript/tests/cases/compiler/exportDefaultAsyncFunction.ts
|
||||||
semantic error: Symbol flags mismatch for "_foo":
|
semantic error: Unresolved references mismatch:
|
||||||
after transform: SymbolId(1): SymbolFlags(FunctionScopedVariable)
|
|
||||||
rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | Function)
|
|
||||||
Unresolved references mismatch:
|
|
||||||
after transform: ["Promise", "arguments"]
|
after transform: ["Promise", "arguments"]
|
||||||
rebuilt : ["arguments"]
|
rebuilt : ["arguments"]
|
||||||
|
|
||||||
|
|
@ -25197,9 +25180,6 @@ rebuilt : SymbolId(5): SymbolFlags(BlockScopedVariable)
|
||||||
Symbol reference IDs mismatch for "GatewayOpcode":
|
Symbol reference IDs mismatch for "GatewayOpcode":
|
||||||
after transform: SymbolId(14): [ReferenceId(6), ReferenceId(11), ReferenceId(13), ReferenceId(16), ReferenceId(27), ReferenceId(28)]
|
after transform: SymbolId(14): [ReferenceId(6), ReferenceId(11), ReferenceId(13), ReferenceId(16), ReferenceId(27), ReferenceId(28)]
|
||||||
rebuilt : SymbolId(5): []
|
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
|
tasks/coverage/typescript/tests/cases/compiler/newArrays.ts
|
||||||
semantic error: Missing SymbolId: "M"
|
semantic error: Missing SymbolId: "M"
|
||||||
|
|
@ -35412,9 +35392,6 @@ tasks/coverage/typescript/tests/cases/compiler/transformNestedGeneratorsWithTry.
|
||||||
semantic error: Symbol reference IDs mismatch for "Bluebird":
|
semantic error: Symbol reference IDs mismatch for "Bluebird":
|
||||||
after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2)]
|
after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2)]
|
||||||
rebuilt : SymbolId(0): [ReferenceId(5)]
|
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
|
tasks/coverage/typescript/tests/cases/compiler/transformsElideNullUndefinedType.ts
|
||||||
semantic error: Scope children mismatch:
|
semantic error: Scope children mismatch:
|
||||||
|
|
@ -38865,11 +38842,6 @@ semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(1): ["T"]
|
after transform: ScopeId(1): ["T"]
|
||||||
rebuilt : ScopeId(1): []
|
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
|
tasks/coverage/typescript/tests/cases/conformance/async/es5/asyncQualifiedReturnType_es5.ts
|
||||||
semantic error: Missing SymbolId: "X"
|
semantic error: Missing SymbolId: "X"
|
||||||
Missing SymbolId: "_X"
|
Missing SymbolId: "_X"
|
||||||
|
|
@ -39290,11 +39262,6 @@ Unresolved references mismatch:
|
||||||
after transform: ["Promise", "arguments", "require"]
|
after transform: ["Promise", "arguments", "require"]
|
||||||
rebuilt : ["arguments", "mp", "p", "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
|
tasks/coverage/typescript/tests/cases/conformance/async/es6/asyncUseStrict_es6.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(0): ["_asyncToGenerator", "_func", "a", "func", "p"]
|
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:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(1): ["T", "a"]
|
after transform: ScopeId(1): ["T", "a"]
|
||||||
rebuilt : ScopeId(3): ["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:
|
Unresolved references mismatch:
|
||||||
after transform: ["AsyncGenerator", "arguments"]
|
after transform: ["AsyncGenerator", "arguments"]
|
||||||
rebuilt : ["arguments"]
|
rebuilt : ["arguments"]
|
||||||
|
|
@ -41549,11 +41513,6 @@ semantic error: Unresolved references mismatch:
|
||||||
after transform: ["Promise"]
|
after transform: ["Promise"]
|
||||||
rebuilt : []
|
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
|
tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpression4ES2020.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(0): ["C", "_asyncToGenerator", "console"]
|
after transform: ScopeId(0): ["C", "_asyncToGenerator", "console"]
|
||||||
|
|
@ -41571,51 +41530,6 @@ Unresolved references mismatch:
|
||||||
after transform: ["arguments"]
|
after transform: ["arguments"]
|
||||||
rebuilt : ["arguments", "console"]
|
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
|
tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionDeclarationEmit1.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(0): ["directory", "moduleFile", "p0", "p1", "p2", "returnDynamicLoad", "whatToLoad"]
|
after transform: ScopeId(0): ["directory", "moduleFile", "p0", "p1", "p2", "returnDynamicLoad", "whatToLoad"]
|
||||||
|
|
@ -41652,11 +41566,6 @@ semantic error: Unresolved references mismatch:
|
||||||
after transform: ["Promise"]
|
after transform: ["Promise"]
|
||||||
rebuilt : []
|
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
|
tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInAMD4.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"]
|
after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"]
|
||||||
|
|
@ -41684,10 +41593,7 @@ after transform: ["arguments"]
|
||||||
rebuilt : ["arguments", "console"]
|
rebuilt : ["arguments", "console"]
|
||||||
|
|
||||||
tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInCJS2.ts
|
tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInCJS2.ts
|
||||||
semantic error: Symbol flags mismatch for "_compute":
|
semantic error: Unresolved references mismatch:
|
||||||
after transform: SymbolId(4): SymbolFlags(FunctionScopedVariable)
|
|
||||||
rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function)
|
|
||||||
Unresolved references mismatch:
|
|
||||||
after transform: ["Promise", "arguments"]
|
after transform: ["Promise", "arguments"]
|
||||||
rebuilt : ["arguments"]
|
rebuilt : ["arguments"]
|
||||||
|
|
||||||
|
|
@ -41696,11 +41602,6 @@ semantic error: Unresolved references mismatch:
|
||||||
after transform: ["Promise"]
|
after transform: ["Promise"]
|
||||||
rebuilt : []
|
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
|
tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInCJS5.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"]
|
after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"]
|
||||||
|
|
@ -41735,11 +41636,6 @@ semantic error: Unresolved references mismatch:
|
||||||
after transform: ["Promise"]
|
after transform: ["Promise"]
|
||||||
rebuilt : []
|
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
|
tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInSystem4.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"]
|
after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"]
|
||||||
|
|
@ -41771,11 +41667,6 @@ semantic error: Unresolved references mismatch:
|
||||||
after transform: ["Promise"]
|
after transform: ["Promise"]
|
||||||
rebuilt : []
|
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
|
tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionInUMD4.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"]
|
after transform: ScopeId(0): ["C", "D", "_asyncToGenerator", "console"]
|
||||||
|
|
@ -41802,61 +41693,6 @@ Unresolved references mismatch:
|
||||||
after transform: ["arguments"]
|
after transform: ["arguments"]
|
||||||
rebuilt : ["arguments", "console"]
|
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
|
tasks/coverage/typescript/tests/cases/conformance/dynamicImport/importCallExpressionReturnPromiseOfAny.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(0): ["defaultModule", "directory", "j", "loadModule", "moduleFile", "p1", "p11", "p2", "p3", "whatToLoad"]
|
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"]
|
after transform: ["Promise", "ValidSomeCondition", "getSpecifier"]
|
||||||
rebuilt : ["ValidSomeCondition", "directory", "getSpecifier", "moduleFile", "whatToLoad"]
|
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
|
tasks/coverage/typescript/tests/cases/conformance/enums/enumBasics.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(1): ["A", "B", "C", "E1"]
|
after transform: ScopeId(1): ["A", "B", "C", "E1"]
|
||||||
|
|
@ -49406,9 +49227,6 @@ tasks/coverage/typescript/tests/cases/conformance/importAttributes/importAttribu
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(0): ["_asyncToGenerator", "_f", "a", "f"]
|
after transform: ScopeId(0): ["_asyncToGenerator", "_f", "a", "f"]
|
||||||
rebuilt : ScopeId(0): ["_asyncToGenerator", "_f", "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
|
tasks/coverage/typescript/tests/cases/conformance/importAttributes/importAttributes8.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
|
|
@ -51062,9 +50880,6 @@ rebuilt : ScopeId(0): [ScopeId(1), ScopeId(3), ScopeId(4), ScopeId(6)]
|
||||||
Bindings mismatch:
|
Bindings mismatch:
|
||||||
after transform: ScopeId(3): ["TResult"]
|
after transform: ScopeId(3): ["TResult"]
|
||||||
rebuilt : ScopeId(1): []
|
rebuilt : ScopeId(1): []
|
||||||
Symbol flags mismatch for "_load":
|
|
||||||
after transform: SymbolId(9): SymbolFlags(FunctionScopedVariable)
|
|
||||||
rebuilt : SymbolId(5): SymbolFlags(BlockScopedVariable | Function)
|
|
||||||
Unresolved references mismatch:
|
Unresolved references mismatch:
|
||||||
after transform: ["Exclude", "Promise", "arguments", "true"]
|
after transform: ["Exclude", "Promise", "arguments", "true"]
|
||||||
rebuilt : ["arguments"]
|
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
|
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
|
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
|
tasks/coverage/typescript/tests/cases/conformance/node/nodeModulesImportAssignments.ts
|
||||||
semantic error: Missing SymbolId: "fs"
|
semantic error: Missing SymbolId: "fs"
|
||||||
Missing ReferenceId: "require"
|
Missing ReferenceId: "require"
|
||||||
|
|
@ -53589,12 +53394,6 @@ rebuilt : ScopeId(0): [SymbolId(0), SymbolId(1), SymbolId(2), SymbolId(3)
|
||||||
Binding symbols mismatch:
|
Binding symbols mismatch:
|
||||||
after transform: ScopeId(37): [SymbolId(27), SymbolId(44)]
|
after transform: ScopeId(37): [SymbolId(27), SymbolId(44)]
|
||||||
rebuilt : ScopeId(43): [SymbolId(32), SymbolId(33)]
|
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
|
tasks/coverage/typescript/tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarationsDeclarationEmit.2.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
|
|
@ -53899,11 +53698,6 @@ Unresolved references mismatch:
|
||||||
after transform: []
|
after transform: []
|
||||||
rebuilt : ["dec"]
|
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
|
tasks/coverage/typescript/tests/cases/conformance/statements/VariableStatements/validMultipleVariableDeclarations.ts
|
||||||
semantic error: Bindings mismatch:
|
semantic error: Bindings mismatch:
|
||||||
after transform: ScopeId(0): ["Point", "a", "declSpace", "fn", "p", "x"]
|
after transform: ScopeId(0): ["Point", "a", "declSpace", "fn", "p", "x"]
|
||||||
|
|
@ -53922,9 +53716,27 @@ after transform: SymbolId(8): [ReferenceId(9)]
|
||||||
rebuilt : SymbolId(7): []
|
rebuilt : SymbolId(7): []
|
||||||
|
|
||||||
tasks/coverage/typescript/tests/cases/conformance/statements/for-await-ofStatements/emitter.forAwait.ts
|
tasks/coverage/typescript/tests/cases/conformance/statements/for-await-ofStatements/emitter.forAwait.ts
|
||||||
semantic error: Symbol flags mismatch for "_f":
|
semantic error: Bindings mismatch:
|
||||||
after transform: SymbolId(10): SymbolFlags(FunctionScopedVariable)
|
after transform: ScopeId(1): ["y"]
|
||||||
rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | Function)
|
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
|
tasks/coverage/typescript/tests/cases/conformance/statements/for-inStatements/for-inStatementsArray.ts
|
||||||
semantic error: Unresolved references mismatch:
|
semantic error: Unresolved references mismatch:
|
||||||
|
|
@ -54232,21 +54044,6 @@ rebuilt : ScopeId(0): ["_asyncToGenerator", "_copyExtensions", "_fn", "_f
|
||||||
Scope children mismatch:
|
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)]
|
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)]
|
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":
|
Reference symbol mismatch for "test":
|
||||||
after transform: SymbolId(11) "test"
|
after transform: SymbolId(11) "test"
|
||||||
rebuilt : <None>
|
rebuilt : <None>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue